summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLibravatar Matheus Tavares <matheus.bernardino@usp.br>2019-07-10 20:59:02 -0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-07-11 13:52:15 -0700
commit14954b799f0bac76e500593c95d1f274cf0636e5 (patch)
tree80917c12efa7de0977796d38380f7780fcf99732 /git.c
parentclone: copy hidden paths at local clone (diff)
downloadtgif-14954b799f0bac76e500593c95d1f274cf0636e5.tar.xz
clone: extract function from copy_or_link_directory
Extract dir creation code snippet from copy_or_link_directory to its own function named mkdir_if_missing. This change will help to remove copy_or_link_directory's explicit recursion, which will be done in a following patch. Also makes the code more readable. Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions