Re: How to pull only a few files from one branch to another?
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Jan 24, 2007, 19:46 UTC
- Message-ID
- <Pine.LNX.4.64.0701241434540.20138@iabervon.org>
- In-Reply-To
- <ep791o$h2u$2@sea.gmane.org>
On Wed, 24 Jan 2007, Jakub Narebski wrote:
Show 8 quoted lines
> Daniel Barkalow wrote:
>
> > (Incidentally, I think "git diff ^ {commit}" should be made to do "git
> > diff {commit}^ {commit}"; i.e., if there is a single other revision
> > provided, interpret a modifier not applied to anything as applying to that
> > revision, in the "what else could that possibly mean?" department.)
>
> "git diff <commit>^!" doesn't work?It generates the right result, but it hasn't become something I automatically think of. :) For that matter, "git diff <commit>{^,}" also works, but, again, I don't think of it instantly.
-Daniel *This .sig left intentionally blank*