Git development
 help / color / mirror / Atom feed
* Hunk splitting in "git gui"
@ 2007-12-28 12:26 Wincent Colaiuta
  2007-12-28 12:38 ` Johannes Sixt
  0 siblings, 1 reply; 3+ messages in thread
From: Wincent Colaiuta @ 2007-12-28 12:26 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hunk splitting in "git gui"
  2007-12-28 12:26 Hunk splitting in "git gui" Wincent Colaiuta
@ 2007-12-28 12:38 ` Johannes Sixt
  2007-12-28 15:37   ` Wincent Colaiuta
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Sixt @ 2007-12-28 12:38 UTC (permalink / raw)
  To: Wincent Colaiuta; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hunk splitting in "git gui"
  2007-12-28 12:38 ` Johannes Sixt
@ 2007-12-28 15:37   ` Wincent Colaiuta
  0 siblings, 0 replies; 3+ messages in thread
From: Wincent Colaiuta @ 2007-12-28 15:37 UTC (permalink / raw)
  To: Johannes Sixt; +Cc: Git Mailing List

El 28/12/2007, a las 13:38, Johannes Sixt escribió:

> 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-28 15:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-28 12:26 Hunk splitting in "git gui" Wincent Colaiuta
2007-12-28 12:38 ` Johannes Sixt
2007-12-28 15:37   ` Wincent Colaiuta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox