]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'kj/refspec-parsing-outside-repository' into next
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 Mar 2026 18:18:53 +0000 (11:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Mar 2026 18:18:53 +0000 (11:18 -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