My git-gui difftool scipt can use now.Can use with meld/beyond compare and so on visual diff tool. Upload to https://github.com/zhangchunlin/gitguidifftool ,and the usage is in README.
Re: My git-gui difftool script
Chunlin Zhang venit, vidit, dixit 17.02.2011 14:22:
Show 5 quoted lines
> My git-gui difftool scipt can use now.Can use with meld/beyond compare and so on > visual diff tool. > Upload to https://github.com/zhangchunlin/gitguidifftool ,and the usage is in > README. >
I don't want to spoil the party, but how is this different from using "git difftool -y $FILENAME" for the command?
Michael
Re: My git-gui difftool script
Michael J Gruber <michaeljgruber+gmane <at> fastmail.fm> writes:
> > > I don't want to spoil the party, but how is this different from using > "git difftool -y $FILENAME" for the command?
Because in git-gui I can know which files are modified and which file are staged more clearly and directly,and I can examine the diff over and over again if I like.
> > Michael >
Re: My git-gui difftool script
Chunlin Zhang venit, vidit, dixit 18.02.2011 02:12:
Show 10 quoted lines
> Michael J Gruber <michaeljgruber+gmane <at> fastmail.fm> writes: > >> >> >> I don't want to spoil the party, but how is this different from using >> "git difftool -y $FILENAME" for the command? > > Because in git-gui I can know which files are modified and which file are staged > more clearly and directly,and I can examine the diff over and over again if I > like.
Well, of course, but in git-gui's Tools menu you can use
"git difftool -y $FILENAME"
instead of
"YOUR_PATH_TO_git_gui_difftool.py $FILENAME"
for the command. So I'm just wondering what your new difftool.py does differently from the existing git-difftool.
Michael
Re: My git-gui difftool script
Michael J Gruber <michaeljgruber+gmane <at> fastmail.fm> writes:
Show 11 quoted lines
> "git difftool -y $FILENAME" > > instead of > > "YOUR_PATH_TO_git_gui_difftool.py $FILENAME" > > for the command. So I'm just wondering what your new difftool.py does > differently from the existing git-difftool. > > Michael >
... I just found that I am reinventing the wheel and it is a worse wheel.
I suggest this should be integrated into git-gui.
Re: My git-gui difftool script
Chunlin Zhang venit, vidit, dixit 18.02.2011 09:26:
Show 15 quoted lines
> Michael J Gruber <michaeljgruber+gmane <at> fastmail.fm> writes: > >> "git difftool -y $FILENAME" >> >> instead of >> >> "YOUR_PATH_TO_git_gui_difftool.py $FILENAME" >> >> for the command. So I'm just wondering what your new difftool.py does >> differently from the existing git-difftool. >> >> Michael >> > ... > I just found that I am reinventing the wheel and it is a worse wheel.
You have taught me about git-gui's Tools menu which I didn't know before. So we both learned something :)
> I suggest this should be integrated into git-gui.
Sounds fine with me, although the flexibility of difftool may prevent having a sane default for "use terminal".
Michael