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?

One thought, the GIT command line diff tool default option compares to
the index.  You can also compare to the commit if that floats your
boat.

git diff
git diff HEAD~1

So it would seem reasonable that EGIT default should compare to index
and provide an option to compare to a history if that is what someone
wants to do.

-Mark

On Tue, Nov 30, 2010 at 4:50 PM, Dariusz Luksza
<dariusz.luksza@xxxxxxxxx> wrote:
> Hi all,
>
> I would like to know yours opinion about what we should show in right hand side
> editor when we are comparing locally changed file (that doesn't have staged
> version but have version in repository)?
>
> There are two options:
> 1. Proposed by Stefan Lay, that compare should occur against index
> 2. My, that compare should occur against last commit
>
> This is simple semantical question ;)
>
> Thank you in advance for any answers
> Dariusz Ɓuksza
>
> --
> Best regards
>
> GSM: +48 695 192 160
> Blog: http://luksza.org
> LinkedIn: http://www.linkedin.com/in/dariuszluksza
> _______________________________________________
> egit-dev mailing list
> egit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/egit-dev
>


Back to the top