summaryrefslogtreecommitdiff
path: root/Documentation/git-unpack-file.txt
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2021-01-20 11:04:21 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-22 18:57:27 -0800
commit16b1985be553b5fc6273eb9d7277173623e2d7cb (patch)
tree08a7ce8e52c33ae5b08eeeb4897d438ec0122e18 /Documentation/git-unpack-file.txt
parentGit 2.30 (diff)
downloadtgif-16b1985be553b5fc6273eb9d7277173623e2d7cb.tar.xz
refs: expose 'for_each_fullref_in_prefixes'
This function was used in the ref-filter.c code to find the longest common prefix of among a set of refspecs, and then to iterate all of the references that descend from that prefix. A future patch will want to use that same code from ls-refs.c, so prepare by exposing and moving it to refs.c. Since there is nothing specific to the ref-filter code here (other than that it was previously the only caller of this function), this really belongs in the more generic refs.h header. The code moved in this patch is identical before and after, with the one exception of renaming some arguments to be consistent with other functions exposed in refs.h. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-unpack-file.txt')
0 files changed, 0 insertions, 0 deletions