Skip to contentSkip to conversation

My git-gui difftool script

DISCUSSION Chunlin Zhang 3 participants 6 messages Jun 15, 2016

lore
Share & tools
lore
#1 lore raw

Chunlin Zhang venit, vidit, dixit 17.02.2011 14:22:

Quoted 5 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

#2 lore raw
Quoted 4 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.

Quoted 3 lines

Michael

#3 lore raw

Chunlin Zhang venit, vidit, dixit 18.02.2011 02:12:

Quoted 10 lines
Quoted 4 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

#4 lore raw
Quoted 11 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.

I suggest this should be integrated into git-gui.

#5 lore raw

Chunlin Zhang venit, vidit, dixit 18.02.2011 09:26:

Quoted 8 lines
Quoted 6 lines · Michael J Gruber <michaeljgruber+gmane <at> fastmail.fm> writes:

"git difftool -y $FILENAME"

instead of

"YOUR_PATH_TO_git_gui_difftool.py $FILENAME"

Quoted 7 lines
Quoted 5 lines

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 :)

Quoted 1 line

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