From: Ping Yin Date: Wed, 08 Apr 2009 02:27:57 GMT Subject: Re: Any way to edit the file in index directly? Message-ID: <46dff0320904071927l16d54c8bv9c219e681cc96bb2@mail.gmail.com> In-Reply-To: <20090408021620.GC18244@coredump.intra.peff.net> Ping Yin On Wed, Apr 8, 2009 at 10:16 AM, Jeff King wrote: > On Tue, Apr 07, 2009 at 10:10:41PM -0400, Jeff King wrote: > >> On Wed, Apr 08, 2009 at 09:03:03AM +0800, Ping Yin wrote: >> >> > There seems to be a patch for this ( add -e?), but i forget where to >> > find it. >> >> "add -p" has an "e"dit option for editing the patch. I don't recall any >> way of directly editing the content. > > "add -p" has an "e"dit option for editing the patch. I don't recall any > way of directly editing the content. Sometimes by 'add -p', i can't get what i want (the patch will fail to apply when exiting editor). And with 'add -p', i can't get a global view of all changes together > I'm not sure what you mean by "alongside". By "aloneside" i mean i can open the index and worktree file in diff mode side by side for easily editing. > Hmm, actually maybe you are thinking of: > >  http://article.gmane.org/gmane.comp.version-control.git/103389 > > which I even reviewed, but it doesn't seem to have gone anywhere after > that. > Thanks, That's what i want.