fetch: Check for a "^{}" suffix with suffixcmp()
commitaac1d7b88918f39b1b7c5bc0dcf831dcc9d5d8a8
authorAndreas Gruenbacher <agruen@suse.de>
Sat, 13 Mar 2010 17:17:04 +0000 (13 18:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 20 Mar 2010 16:25:25 +0000 (20 09:25 -0700)
tree140e76878e54a878de390b0094daa1d8c70ac224
parente9bd32351078d1f664a1608763a92ab402b255f0
fetch: Check for a "^{}" suffix with suffixcmp()

Otherwise, we will check random bytes for ref names < 3 characters.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c