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: NAndrew Wong <andrew.kw.w@gmail.com> Signed-off-by: NPat Thoyts <patthoyts@users.sourceforge.net>
Showing
想要评论请 注册 或 登录