Can I make a “git gui” pass, say, “--patience” to “git diff”?

I am really looking for a tuning method git guifor generating diff, as if git diff --patience, but I strongly suspect that any mechanism that could allow me to do this would also allow other parameters to be passed, and therefore I ask a more general question in the interests of better offspring maintenance:

Is there a way to set some git diffparameters that git guishould use when creating the differences that it shows?

+5
source share
1 answer

, . (gui.diffcontext), git diff-index.

git-gui Tcl, . diff.tcl * lappend cmd --patience lappend cmd -p.

* /usr/share/git-gui/lib/diff.tcl, ...


Pat Thoyts, git gui, , gui.diffopts git gui, , diff. ( , , git.)

+3

All Articles