On Thu, 16 Nov 2006, Linus Torvalds wrote: > @@ -95,6 +100,12 @@ case "$merge_head" in > ;; > esac > > +if test -z "$orig_head" > +then > + git-update-ref -m "initial pull" HEAD $merge_head "" || exit 1 > + exit > +fi > + So this is the place that probably wants a "git-checkout" before the exit, otherwise you'd (illogically) have to do it by hand for that particular case. Of course, we should _not_ do it if the "--bare" flag has been set, so you migth want to tweak the exact logic here. Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html