Git development
 help / color / mirror / Atom feed
* "git-pull --no-commit" should imply --no-ff...?
@ 2008-06-21 14:08 Stefan Richter
  2008-06-22 13:36 ` Graham Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Richter @ 2008-06-21 14:08 UTC (permalink / raw)
  To: git

Hi list,

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.

I then learned that "git pull --no-ff --no-commit . foo" does what I
wanted.  What good does it do to ignore --no-commit in the fast-forward
case unless --no-ff is given?

This is with git 1.5.4.5.
-- 
Stefan Richter
-=====-==--- -==- =-=-=
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-22 14:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-21 14:08 "git-pull --no-commit" should imply --no-ff...? Stefan Richter
2008-06-22 13:36 ` Graham Wilson
2008-06-22 13:49   ` Miklos Vajna
2008-06-22 14:01   ` Stefan Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox