Re: [PATCH JGIT] Add "compare with Git Index" action.
- From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
- Date
- Mar 10, 2009, 23:22 UTC
- 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 <yann.simon.fr@gmail.com>:
Show 14 quoted lines
> 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 <yann.simon.fr@gmail.com> > --- > 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