]> granicus.if.org Git - git/commit
Merge branch 'jt/fetch-allow-tip-sha1-implicitly'
authorJunio C Hamano <gitster@pobox.com>
Tue, 30 May 2017 02:16:43 +0000 (11:16 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 May 2017 02:16:43 +0000 (11:16 +0900)
commit02c531eba2925d89856baca8dc6a9d1b31bc4d7f
treeab20395eb52069bdd6c1ba24df70c4721388777e
parent07d4c760056b930246d5db1545c32d3cecd9d257
parentfdb69d33c43eb56a564a3e1c805dea4b29162667
Merge branch 'jt/fetch-allow-tip-sha1-implicitly'

There is no good reason why "git fetch $there $sha1" should fail
when the $sha1 names an object at the tip of an advertised ref,
even when the other side hasn't enabled allowTipSHA1InWant.

* jt/fetch-allow-tip-sha1-implicitly:
  fetch-pack: always allow fetching of literal SHA1s
fetch-pack.c