From: Junio C Hamano Date: Wed, 10 Jan 2007 09:46:16 GMT Subject: Re: [PATCH] Detached HEAD (experimental) Message-ID: <7vwt3vb4ev.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <45A4AD08.1020002@op5.se> Andreas Ericsson writes: > ... Since committing on > detached heads really should be a very rare case I don't think many > people will find this terribly annoying. Quite the contrary, I would imagine it would be quite natural to do throw-away commits and merges on detached head while bisecting the history (e.g. commit small fixup to make it compile and then mark the result for bisection to hunt for real bugs that are hidden by silly compilation problems). The check suggested by Linus would be safe enough for people to whom it is "very rare" for their workflow to commitg on detached HEAD anyway, so you should not burden "git commit" with such an annoying warning messages.