Re: [PATCH] [checkout-index] Give names to stages
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 4, 2006, 11:39 UTC
- Message-ID
- <Pine.LNX.4.63.0612041237490.28348@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <el113s$25v$1@sea.gmane.org>
Hi,
On Mon, 4 Dec 2006, Jakub Narebski wrote:
Show 25 quoted lines
> Johannes Schindelin wrote: > > > On Sun, 3 Dec 2006, Luben Tuikov wrote: > > > >> This patch merely allows the user to say > >> git-checkout-index --stage=ours their_broken_file.c > >> instead of > >> git-checkout-index --stage=2 their_broken_file.c > >> and similarly for "theirs", etc. > > > > Dunno. When this problem hits me, I usually do > > > > git diff --theirs their_broken_file.c > > > > anyway, to see what it is doing (colour and all). When I am satisfied, > > that "theirs" is really what I want, I just go back one in history, and > > append a call to git-apply like this: > > > > git diff --theirs their_broken_file.c | git apply --index > > Then > > git checkout --theirs their_broken_file.c > > is obvious simplification.
Obvious maybe. But simplification, not to me. Especially since the way I call it, there is less possibility to shoot myself into the foot.
But then, I do not really care.
Ciao, Dscho