git-gui: Don't prepend the prefix if value looks like a full path
commitdf46eda3887da7c31cbc3f278550fc8ef9d1ba7a
authorAndrew Wong <andrew.kw.w@gmail.com>
Tue, 2 Oct 2012 16:25:15 +0000 (2 12:25 -0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 17 Oct 2012 20:47:50 +0000 (17 21:47 +0100)
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 <andrew.kw.w@gmail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui.sh