git-gui: Fix parsing of <rev> <path-which-not-present-in-worktree>

Commit e3d06ca9 (git-gui: Detect full path when parsing arguments) broke git gui blame rev path-not-present-in-worktree in particular this does not work anymore: # in linux.git $ git gui blame 2bb8c26242c2393b097a993ffe9b003ec9b85395 drivers/net/sky2.c This patch restores the original functionality in this case. Acked-by: Andrew Wong <andrew.kw.w@gmail.com> Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>

Kirill Smelkov committed Nov 13, 2012 at 16:30 UTC 552ee61ece4dad7a42012d83a7271e4b5464cb2e
1 file changed +1
git-gui.sh
+1
@@ -3015,6 +3015,7 @@ blame {
3015
3016 if {$is_path} {
3017 if {$path ne {}} usage
3018 + set path [normalize_relpath $_prefix$a]
3019 break
3020 } elseif {$a eq {--}} {
3021 if {$path ne {}} {