summaryrefslogtreecommitdiff
path: root/git-resolve.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-25 01:59:18 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-26 06:53:28 (GMT)
commit565ebbf79f61873042c22a7126d002c104e056f4 (patch)
tree764f8a201d063a7b49b07daa3a6e48b0af267162 /git-resolve.sh
parent9e48b389990c0201487e58f3bac32734a59a7e89 (diff)
downloadgit-565ebbf79f61873042c22a7126d002c104e056f4.zip
git-565ebbf79f61873042c22a7126d002c104e056f4.tar.gz
git-565ebbf79f61873042c22a7126d002c104e056f4.tar.bz2
upload-pack: tighten request validation.
This makes sure what the other end asks for are among what we offered to give them. Otherwise we would end up running git-rev-list with 20-byte nonsense, only to find it either die (because the object was not found) or waste time (because we ended up serving that phony 'client'). Also avoid wasting needs_sha1 pool to record duplicates, and detect cloning requests better. [this used to be on top of Johannes fetch-pack enhancements, which we are rewinding it for further testing for now, so the commit is rebased.] Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-resolve.sh')
0 files changed, 0 insertions, 0 deletions