]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'kj/refspec-parsing-outside-repository'
authorJunio C Hamano <gitster@pobox.com>
Wed, 1 Apr 2026 17:28:19 +0000 (10:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Apr 2026 17:28:19 +0000 (10:28 -0700)
"git ls-remote '+refs/tags/*:refs/tags/*' https://..." run outside a
repository would dereference a NULL while trying to see if the given
refspec is a single-object refspec, which has been corrected.

* kj/refspec-parsing-outside-repository:
  refspec: fix typo in comment
  remote-curl: fall back to default hash outside repo

1  2 
remote-curl.c

diff --cc remote-curl.c
Simple merge