Fix incorrect ref namespace check
authorNguyễn Thái Ngọc Duy <redacted>
Thu, 5 Jan 2012 12:39:40 +0000 (19:39 +0700)
committerJunio C Hamano <redacted>
Wed, 11 Jan 2012 20:52:12 +0000 (12:52 -0800)
commit97ba642bcf918de028b2e77165c5210cf3f462e5
tree7e9e06846d27d3ddcbbf0328b97c52a943e444d0
parent8311158c66e0d83df950ea837fb1cb332c51f798
Fix incorrect ref namespace check

The reason why the trailing slash is needed is obvious. refs/stash and
HEAD are not namespace, but complete refs. Do full string compare on them.

Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/fetch.c
builtin/remote.c
log-tree.c
git clone https://git.99rst.org/PROJECT