author | pclouds@gmail.com <pclouds@gmail.com> | |
Thu, 19 Oct 2006 01:34:41 +0000 (08:34 +0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 19 Oct 2006 04:21:50 +0000 (21:21 -0700) | ||
commit | 8a83157e04e8f9654b3573cf04276895b1cbd68a | |
tree | 569384c85d49f1d0f981d594e1d4de424b9d464c | tree | snapshot |
parent | 1a3b55c6b424904835ebfd74c992a5bffbaa7e7e | commit | diff |
Reject hexstring longer than 40-bytes in get_short_sha1()
Such a string can never be a valid object name.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Such a string can never be a valid object name.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_name.c | diff | blob | history |