diff options
author | Matheus Tavares <matheus.bernardino@usp.br> | 2019-07-10 20:59:01 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-07-11 13:52:15 -0700 |
commit | 68c7c59cf202a4d90d96f19076a33d12278c5864 (patch) | |
tree | 6474d72e6bf1a0fe2771784d31ffc3ae058da34a /t/t4013/diff.diff_--no-index_dir_dir3 | |
parent | dir-iterator: add flags parameter to dir_iterator_begin (diff) | |
download | tgif-68c7c59cf202a4d90d96f19076a33d12278c5864.tar.xz |
clone: copy hidden paths at local clone
Make the copy_or_link_directory function no longer skip hidden
directories. This function, used to copy .git/objects, currently skips
all hidden directories but not hidden files, which is an odd behaviour.
The reason for that could be unintentional: probably the intention was
to skip '.' and '..' only but it ended up accidentally skipping all
directories starting with '.'. Besides being more natural, the new
behaviour is more permissive to the user.
Also adjust tests to reflect this behaviour change.
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Co-authored-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_--no-index_dir_dir3')
0 files changed, 0 insertions, 0 deletions