Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Against what version we should compare locally changed file?

> bounces@xxxxxxxxxxx] On Behalf Of Christian Halstrick
> Sent: Mittwoch, 1. Dezember 2010 10:57
> I would also suggest to compare with index because that's what I get
> from standard 'git diff'. Imagine you have already staged complicated
> modifications to a file. Then it is very likely that you would like to
> compare what you have in the filesystem against what you have staged.

The question remains what the label should be if there is no difference between the index and HEAD. I suggest to show Index nevertheless because of consistency, Dariusz proposed to show the commit id of HEAD because the user can see that in fact index and HEAD have the same content (Dariusz, is this correct?)

Stefan


Back to the top