Fix incorrect ref namespace check
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 5 Jan 2012 12:39:40 +0000 (19:39 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Jan 2012 20:52:12 +0000 (12:52 -0800)
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 <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found