Hunk splitting in "git gui"

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

Hunk splitting in "git gui"

From: Wincent Colaiuta <hidden>
Date: 2016-06-15 22:44:01

I'd use "git gui" a lot more if I could split hunks in it (like you  
can in "git add --interactive").

Problem is, I have zero knowledge of Tcl/Tk. Can someone who has  
knowledge of this offer an opinion on whether this would be a feasible  
project for a beginner? I'm willing to have a shot at it, but before I  
embark on this I'd like to know if others consider it useful and doable!

Cheers,
Wincent

Re: Hunk splitting in "git gui"

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:44:01

Wincent Colaiuta schrieb:
I'd use "git gui" a lot more if I could split hunks in it (like you can
in "git add --interactive").

Problem is, I have zero knowledge of Tcl/Tk. Can someone who has
knowledge of this offer an opinion on whether this would be a feasible
project for a beginner? I'm willing to have a shot at it, but before I
embark on this I'd like to know if others consider it useful and doable!
Look at the sub-thread that started here:

http://article.gmane.org/gmane.comp.version-control.git/68091

Be sure not to skip the explanation why --unidiff-zero is dangerous.

-- Hannes

Re: Hunk splitting in "git gui"

From: Wincent Colaiuta <hidden>
Date: 2016-06-15 22:44:01

El 28/12/2007, a las 13:38, Johannes Sixt escribió:
Wincent Colaiuta schrieb:
quoted
I'd use "git gui" a lot more if I could split hunks in it (like you  
can
in "git add --interactive").

Problem is, I have zero knowledge of Tcl/Tk. Can someone who has
knowledge of this offer an opinion on whether this would be a  
feasible
project for a beginner? I'm willing to have a shot at it, but  
before I
embark on this I'd like to know if others consider it useful and  
doable!
Look at the sub-thread that started here:

http://article.gmane.org/gmane.comp.version-control.git/68091

Be sure not to skip the explanation why --unidiff-zero is dangerous.
Ah, yes now I remember seeing that thread. I didn't actually like what  
was proposed in that patch (hunk-splitting on arbitrary, user- 
selectable lines) and much prefer what "git add --interactive" does  
(explode a hunk deterministically into multiple hunks wherever there  
are intervening context lines).

Cheers,
Wincent
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help