{"thread":{"id":"11412","subject":"Hunk splitting in \"git gui\"","startedAt":"2007-12-28T12:26:26Z","lastAt":"2007-12-28T15:37:45Z","messageCount":3,"participants":["Wincent Colaiuta","Johannes Sixt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"64141","messageId":"3F129AD6-EA27-4584-B5C8-2866964AB93E@wincent.com","threadId":"11412","inReplyTo":null,"subject":"Hunk splitting in \"git gui\"","fromName":"Wincent Colaiuta","fromEmail":"win@wincent.com","sentAt":"2007-12-28T12:26:26Z","receivedAt":"2007-12-28T12:26:26Z","isPatch":false,"sender":{"key":"greg@hurrell.net","avatar":"https://avatars.githubusercontent.com/u/7074?v=4"},"body":"I'd use \"git gui\" a lot more if I could split hunks in it (like you  \ncan in \"git add --interactive\").\n\nProblem is, I have zero knowledge of Tcl/Tk. Can someone who has  \nknowledge of this offer an opinion on whether this would be a feasible  \nproject for a beginner? I'm willing to have a shot at it, but before I  \nembark on this I'd like to know if others consider it useful and doable!\n\nCheers,\nWincent\n"},{"id":"64142","messageId":"4774EE35.10905@viscovery.net","threadId":"11412","inReplyTo":"3F129AD6-EA27-4584-B5C8-2866964AB93E@wincent.com","subject":"Re: Hunk splitting in \"git gui\"","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2007-12-28T12:38:13Z","receivedAt":"2007-12-28T12:38:13Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Wincent Colaiuta schrieb:\n> I'd use \"git gui\" a lot more if I could split hunks in it (like you can\n> in \"git add --interactive\").\n> \n> Problem is, I have zero knowledge of Tcl/Tk. Can someone who has\n> knowledge of this offer an opinion on whether this would be a feasible\n> project for a beginner? I'm willing to have a shot at it, but before I\n> embark on this I'd like to know if others consider it useful and doable!\n\nLook at the sub-thread that started here:\n\nhttp://article.gmane.org/gmane.comp.version-control.git/68091\n\nBe sure not to skip the explanation why --unidiff-zero is dangerous.\n\n-- Hannes\n"},{"id":"64149","messageId":"1CD46F56-71FE-408B-AC9D-E416754862AE@wincent.com","threadId":"11412","inReplyTo":"4774EE35.10905@viscovery.net","subject":"Re: Hunk splitting in \"git gui\"","fromName":"Wincent Colaiuta","fromEmail":"win@wincent.com","sentAt":"2007-12-28T15:37:45Z","receivedAt":"2007-12-28T15:37:45Z","isPatch":false,"sender":{"key":"greg@hurrell.net","avatar":"https://avatars.githubusercontent.com/u/7074?v=4"},"body":"El 28/12/2007, a las 13:38, Johannes Sixt escribió:\n\n> Wincent Colaiuta schrieb:\n>> I'd use \"git gui\" a lot more if I could split hunks in it (like you  \n>> can\n>> in \"git add --interactive\").\n>>\n>> Problem is, I have zero knowledge of Tcl/Tk. Can someone who has\n>> knowledge of this offer an opinion on whether this would be a  \n>> feasible\n>> project for a beginner? I'm willing to have a shot at it, but  \n>> before I\n>> embark on this I'd like to know if others consider it useful and  \n>> doable!\n>\n> Look at the sub-thread that started here:\n>\n> http://article.gmane.org/gmane.comp.version-control.git/68091\n>\n> Be sure not to skip the explanation why --unidiff-zero is dangerous.\n\nAh, yes now I remember seeing that thread. I didn't actually like what  \nwas proposed in that patch (hunk-splitting on arbitrary, user- \nselectable lines) and much prefer what \"git add --interactive\" does  \n(explode a hunk deterministically into multiple hunks wherever there  \nare intervening context lines).\n\nCheers,\nWincent\n"}]}