From: Robin Rosenberg Date: Tue, 10 Mar 2009 23:22:53 GMT Subject: Re: [PATCH JGIT] Add "compare with Git Index" action. Message-ID: <200903110022.53854.robin.rosenberg.lists@dewire.com> In-Reply-To: <49B63ADC.4080009@gmail.com> tisdag 10 mars 2009 11:03:08 skrev Yann Simon : > In the Compare With... menu, the "Git Index" action opens > a diff editor that compares the workspace version of a file and its > index version. > > The local file can be modified and saved. > > The staged version can be modified and saved. This updates the index. > For this, add methods into GitIndex to allow to specify a content > different from the file. > > Signed-off-by: Yann Simon > --- > Changed comapred to previous version: > - fix saving the index version. Saving works, but the diff regions aren't updated on save. When there is a diff this would give us the partial staging similar to git gui, if only (not your fault) the commit dialog would allow us to make a distinction between changes in the workdir and the index. -- robin