Merge branch 'sg/ref-filter-wo-repository'
commit7bdebaa646787b98679799ee27bfb42fb7daa8ca
authorJunio C Hamano <gitster@pobox.com>
Sun, 18 Nov 2018 09:23:59 +0000 (18 18:23 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Nov 2018 09:23:59 +0000 (18 18:23 +0900)
treeff6dc6265ac51f3af6c58d736311166839857ec0
parent56e4af3d34f95724ac26147f26752fa90d9e0280
parent47bd3d0c14f081a3ea32b0720f7d59559802904d
Merge branch 'sg/ref-filter-wo-repository'

"git ls-remote --sort=<thing>" can feed an object that is not yet
available into the comparison machinery and segfault, which has
been corrected to check such a request upfront and reject it.

* sg/ref-filter-wo-repository:
  ref-filter: don't look for objects when outside of a repository
ref-filter.c