From: Kirill Smelkov Date: Tue, 13 Nov 2012 12:30:17 +0000 (+0400) Subject: git-gui: Fix parsing of X-Git-Tag: gitgui-0.18.0~9 X-Git-Url: https://repo.or.cz/w/git-gui.git/commitdiff_plain/552ee61ece4dad7a42012d83a7271e4b5464cb2e git-gui: Fix parsing of 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 Signed-off-by: Kirill Smelkov Signed-off-by: Pat Thoyts --- diff --git a/git-gui.sh b/git-gui.sh index 89f636f..e133331 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -3015,6 +3015,7 @@ blame { if {$is_path} { if {$path ne {}} usage + set path [normalize_relpath $_prefix$a] break } elseif {$a eq {--}} { if {$path ne {}} {