Junio C Hamano <gitster@xxxxxxxxx> writes: > Am I reading the loop correctly? I wanted the bogus refname not to > match the rule, but without peeking back refname[-1], I cannot tell > the two cases apart at this point. Heh. $ git symbolic-ref BOGO refsXheads/naster $ git symbolic-ref --short BOGO heads/naster