Re: [PATCH] git-gui: Few issues with using full path name
Could we look into getting these two patches into git/git-gui?
On 10/02/12 12:25, Andrew Wong wrote:
Show 20 quoted lines
> I ran into a file name parsing issue in git-gui. If I'm in a subfolder and try
> to pass a full path to "git-gui blame", then "git-gui" will fail to detect the
> argument as a valid path. The first patch will handle this scenario.
>
> The second patch just another issue that I noticed when "git-gui" fails to
> detect the file name. It'll then try to use the previously detected "head" as
> the file name, while prepending it with "prefix". This is incorrect if "head"
> is actually a full path.
>
> There is also an issue when using a full path along with a rev argument, but I
> don't have time to look it right now. I'll try to get to that issue another
> time.
>
> Andrew Wong (2):
> git-gui: Detect full path when parsing arguments
> git-gui: Don't prepend the prefix if value looks like a full path
>
> git-gui.sh | 20 +++++++++++++++++---
> 1 file changed, 17 insertions(+), 3 deletions(-)
>