]> git.ipfire.org Git - thirdparty/git.git/commit - http-backend.c
http-backend: allow 64-character hex names
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:05:10 +0000 (00:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:38 +0000 (11:57 +0900)
commitf786ae9ff91e356960521b3a0db95c5a66b59809
tree2267a7a42bb62df69fff3af453de950a63342f38
parentf024b87a086643bbe6c869af11eee27aaaebb074
http-backend: allow 64-character hex names

In an SHA-256-backed repository using the http-backend handler for dumb
protocol clients, it may be necessary to access the raw packs using
their full SHA-256-specified names.  Allow packs and loose objects to be
accessed using their full SHA-256-specified 64-character hex names.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-backend.c