summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_--abbrev_initial..side
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-06-05 22:21:42 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-06-05 22:21:42 -0700
commit589570dbe7d291e73defea367babb5400a87e9f0 (patch)
treea00c6d6bd1831d646787b5b5c87eaca13904b345 /t/t4013/diff.diff_--abbrev_initial..side
parentbuiltin/add.c: use path_excluded() (diff)
downloadtgif-589570dbe7d291e73defea367babb5400a87e9f0.tar.xz
unpack-trees.c: use path_excluded() in check_ok_to_remove()
This function is responsible for determining if a path that is not tracked is ignored and allow "checkout" to overwrite it as needed. It used excluded() without checking if higher level directory in the path is ignored; correct it to use path_excluded() for this check. Signed-off-by: Junio C Hamano <gitster@pobox.com> --- * There are uses of lower-level interface excluded_from_list() in the codepath for narrow-checkout hack; they are supposed to be already checking each level as they descend, and are not touched with this patch.
Diffstat (limited to 't/t4013/diff.diff_--abbrev_initial..side')
0 files changed, 0 insertions, 0 deletions