From: Pedro Melo Date: Sat, 05 Jan 2008 00:17:49 GMT Subject: Re: git-walkthrough-add script Message-ID: <8666B7CA-D47F-40A0-88A2-3756C0663296@simplicidade.org> In-Reply-To: <1199491057-sup-5588@south> Hi, On Jan 5, 2008, at 12:02 AM, William Morgan wrote: > Excerpts from Pedro Melo's message of Fri Jan 04 15:26:41 -0800 2008: >> You script asks me to add all the changes in the same file at once. > > It shouldn't. The whole point is to walk through and allow > selection on > a per-hunk basis. > > Maybe I'm parsing the output of git diff incorrectly and not > picking up > hunk boundaries? Would you mind sending the output of a git diff that > results in this behavior? I used a new git repo, just to test your script. The diff is: ------ snip diff --git a/a b/a index b6b8cab..456bb2d 100644 --- a/a +++ b/a @@ -1,4 +1,5 @@ asasas +**** assas assas asas @@ -37,6 +38,7 @@ asasas assas assas asas +=fsdfsdfsadfasdfsad= asasas assas @@ -46,5 +48,6 @@ asas asasas assas assas +asdasdasdasda=DASD=AS=DA=SD= asas ------ snip Best regards -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: melo@simplicidade.org Use XMPP!