summaryrefslogtreecommitdiff
path: root/contrib/fast-import/git-import.perl
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-05-11 10:37:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-12 03:14:44 (GMT)
commit00bc8390d8cd764c52f0308b303a270e9bf57d84 (patch)
treefcf72a718e3bdd724279db70e09f8fd36607d12c /contrib/fast-import/git-import.perl
parent48bf2fa8bad054d66bd79c6ba903c89c704201f7 (diff)
downloadgit-00bc8390d8cd764c52f0308b303a270e9bf57d84.zip
git-00bc8390d8cd764c52f0308b303a270e9bf57d84.tar.gz
git-00bc8390d8cd764c52f0308b303a270e9bf57d84.tar.bz2
remote-curl: fix clone on sha256 repos
The remote-https process needs to update it's own instance of `the_repository' when it sees an HTTP(S) remote is using sha256. Without this, parse_oid_hex() fails to handle sha256 OIDs when it's eventually called by parse_fetch(). Tested with: git clone https://yhbt.net/sha256test.git GIT_SMART_HTTP=0 git clone https://yhbt.net/sha256test.git (plain http:// also works) Cloning the URL via git:// required no changes Signed-off-by: Eric Wong <e@80x24.org> Acked-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/fast-import/git-import.perl')
0 files changed, 0 insertions, 0 deletions