| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
| Thu, 5 Jan 2012 12:39:40 +0000 (19:39 +0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 11 Jan 2012 20:52:12 +0000 (12:52 -0800) | ||
| commit | 97ba642bcf918de028b2e77165c5210cf3f462e5 | |
| tree | 7e9e06846d27d3ddcbbf0328b97c52a943e444d0 | tree | snapshot |
| parent | 8311158c66e0d83df950ea837fb1cb332c51f798 | commit | diff |
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 <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
| builtin/fetch.c | diff | blob | history | |
| builtin/remote.c | diff | blob | history | |
| log-tree.c | diff | blob | history |