From 6a04ae47cf62fb1f0c60595a2c886dd98cf80784 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 13 Jul 2013 12:16:47 +0200 Subject: [PATCH] fix two-argument gitdiff --- pws | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pws b/pws index bc54a49..ca96ed4 100755 --- a/pws +++ b/pws @@ -916,7 +916,7 @@ class GitDiff if ARGV.length == 1 @commit = 'HEAD' @filename = ARGV.shift - elsif ARGV.length == 1 + elsif ARGV.length == 2 @commit = ARGV.shift @filename = ARGV.shift else -- 2.39.5