On Thu, 8 Feb 2007, Kalle Pokki wrote:
Don't do this.
If the merge just fast-forwarded, you'll do the wrong thing.
So yes, it _works_, but it only works if you actually ended up having a
real merge. In contrast, the ORIG_HEAD thing always works.
ORIG_HEAD is also particularly useful for doing things like "ok, what did
I get from that pull?" especially when you track somebody elses work (in
which case it will basically _always_ be a fast-forward). So I do
gitk ORIG_HEAD..
in git almost every time I pull from Junio's git thing, just because it's
a wonderful way to see what has changed, if you're interested in that kind
of detail.
Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Andrew Morton | 2.6.25-mm1 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Natalie Protasevich | [BUG] New Kernel Bugs |
