git-gui: Don't prepend the prefix if value looks like a full path
authorAndrew Wong <redacted>
Tue, 2 Oct 2012 16:25:15 +0000 (12:25 -0400)
committerPat Thoyts <redacted>
Wed, 17 Oct 2012 20:47:50 +0000 (21:47 +0100)
commitdf46eda3887da7c31cbc3f278550fc8ef9d1ba7a
tree920e48024af697afdf43e9504bba12a31a64005f
parente3d06ca93eebaf5e4bf8438255a30fb6c91ab277
git-gui: Don't prepend the prefix if value looks like a full path

When argument parsing fails to detect a file name, "git-gui" will try to
use the previously detected "head" as the file name. We should avoid
prepending the prefix if "head" looks like a full path.

Signed-off-by: Andrew Wong <redacted>
Signed-off-by: Pat Thoyts <redacted>
git-gui.sh
git clone https://git.99rst.org/PROJECT