From: Peter Palfrader Date: Sat, 13 Jul 2013 10:16:47 +0000 (+0200) Subject: fix two-argument gitdiff X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a04ae47cf62fb1f0c60595a2c886dd98cf80784;p=pwstore fix two-argument gitdiff --- 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