decoration: do not mis-decorate refs with same prefix
commit594ffe80e7827b20335c5c6dde2cf57c9919db68
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 18 Aug 2011 12:29:34 +0000 (18 19:29 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Aug 2011 17:58:19 +0000 (18 10:58 -0700)
tree14cc394c98a346708b3cfdeba40f54056960e8be
parentf696543dad6c7ba27b0c4fab167a5687263a9ba0
decoration: do not mis-decorate refs with same prefix

We definitely do not want to decorate refs/headsandtails the same as
refs/heads/*, for example.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c