Re: [PATCH] Document what the stage numbers in the :$n:path syntax mean.
- From
- Florian Weimer <fweimer@bfk.de>
- Date
- Aug 20, 2007, 07:15 UTC
- Message-ID
- <828x86ad8q.fsf@mid.bfk.de>
- In-Reply-To
- <20070820061330.GB27913@spearce.org>
* Shawn O. Pearce:
Show 11 quoted lines
>> I've memorized it long long ago. But my coworkers haven't and always >> get it wrong, and look at me funny when I tell them "trust me, your >> data is in stage 2 and theirs is in stage 3... because that's the >> convention all of the tools you are using follows". > > Actually, what's wrong with the following: > > git show HEAD:foo.c > git show MERGE_HEAD:foo.c > > ?
I think that in the staged versions, the non-conflicting parts of the merge are in fact merged. For the HEAD/MERGE_HEAD versions, this isn't the case, obviously.
-- Florian Weimer <fweimer@bfk.de> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99