From: Felipe Contreras Date: Mon, 06 Apr 2009 19:13:26 GMT Subject: Re: [RFC/PATCH 0/2] New 'stage' command Message-ID: <94a0d4530904061213pabd87aj9db577aaa231945c@mail.gmail.com> In-Reply-To: <7vy6ud4otd.fsf@gitster.siamese.dyndns.org> On Mon, Apr 6, 2009 at 9:30 PM, Junio C Hamano wrote: > David Kågedal writes: > >> What do you mean? This was a suggestion for how git diff should >> work. I fail to see how you would need a WORKTREEANDTHEINDEX there. > > You are talking only about "git diff".  I am talking about the whole git > suite, because you have to worry about how such a proposal would affect > other parts of the UI. How do currently do you something like this: git diff HEAD^..STAGE You can't. This is not an issue for any other git commands, that's why --stage, --cache, --index make sense for _other_ commands, not 'git diff'. -- Felipe Contreras