Re: "git-pull --no-commit" should imply --no-ff...?
- From
- Graham Wilson <graham@mknod.org>
- Date
- Jun 22, 2008, 13:36 UTC
- Message-ID
- <20080622133606.GA21828@endor.mknod.org>
- In-Reply-To
- <tkrat.5aa5af8e9968819c@s5r6.in-berlin.de>
On Sat, Jun 21, 2008 at 04:08:51PM +0200, Stefan Richter wrote:
> trying "git pull --no-commit . foo" for the first time, I was confused > that --no-commit was a no-op when the pull resulted in a fast-forward. > I.e. HEAD advanced the whole chain of commits to foo. I expected it to > apply the diff of HEAD..foo but not commit them.
--no-commit to me seems to mean don't commit a merge commit. Maybe what you want is something like:
git-diff HEAD foo | git-apply
-- gram