]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch-pack: factor out is_unmatched_ref()
authorRené Scharfe <l.s.r@web.de>
Thu, 4 Oct 2018 15:09:06 +0000 (17:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Oct 2018 18:12:13 +0000 (11:12 -0700)
commitbf73282c0b34bfc7772f952496b06150cceb5dae
tree9f1bf2d858ff46d5b8beec889730c368677fe3ea
parentfe8321ec057f9231c26c29b364721568e58040f7
fetch-pack: factor out is_unmatched_ref()

Move the code to determine if a request is unmatched to its own little
helper.  This allows us to reuse it in a subsequent patch.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c