summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2016-08-15 14:53:24 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-15 15:28:01 -0700
commit9eeea7d2bc8132cfaa1b79271c077e80317f3ae1 (patch)
tree311909d3eefff75811402fcaaa95b51549645019 /unpack-trees.c
parentsubmodule--helper update-clone: allow multiple references (diff)
downloadtgif-9eeea7d2bc8132cfaa1b79271c077e80317f3ae1.tar.xz
clone: factor out checking for an alternate path
In a later patch we want to determine if a path is suitable as an alternate from other commands than builtin/clone. Move the checking functionality of `add_one_reference` to `compute_alternate_path` that is defined in cache.h. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.c')
0 files changed, 0 insertions, 0 deletions