On 8/31/07, Jakub Narebski <jnareb@xxxxxxxxx> wrote: > On Fri, 31 August 2007, Giuseppe Bilotta wrote: > > If I understand correctly, a detached HEAD is simply a checkout in the > > middle of a branch, and thus not named. So what exactly are we looking > > for when we talk about supporting a detached HEAD? Would it be enough > > to display HEAD in the list of heads? > > I think we want display HEAD in the list of heads if it is detached, > and also use it as a ref marker, while only marking (with undeline or > bold style) current head as such if HEAD is not detached, i.e. is > symref or symlink. I thought so. Of course, I've just discovered that for-each-ref ignores HEAD, so I have to do it the hard route ... -- Giuseppe "Oblomov" Bilotta - 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