Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2006-09-05 23:00:17 +0400
committerJunio C Hamano <junkio@cox.net>2006-09-06 04:40:46 +0400
commitc41e20b30b2bd4b8167917336676cde6f6aadd06 (patch)
tree14cfbfde32feb0491aeae8f23b301dfaee2dc890 /git.c
parent825b045f52daa2c8f28370f30c759adbdec51cbb (diff)
send-pack: remove remote reference limit
When build a pack for a push we query the remote copy for existant heads. These are used to prune unnecessary objects from the pack. As we receive the remote references in get_remote_heads() we validate the reference names via check_ref() which includes a length check; rejecting those >45 characters in size. This is a miss converted change, it was originally designed to reject messages which were less than 45 characters in length (a 40 character sha1 and refs/) to prevent comparing unitialised memory. check_ref() now gets the raw length so check for at least 5 characters. Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions