]> git.ipfire.org Git - thirdparty/git.git/commit
dir: libify and export helper functions from clone.c
authorAtharva Raykar <raykar.ath@gmail.com>
Tue, 10 Aug 2021 11:46:36 +0000 (17:16 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Aug 2021 18:45:11 +0000 (11:45 -0700)
commited86301f68fcbb17c5d1c7a3258e4705b3b1da9c
tree92399cb3da8013b689239f465e2fd8ea5f1ddbeb
parent0c61041ed6778db86184d7a0d9759085f3cb9a82
dir: libify and export helper functions from clone.c

These functions can be useful to other parts of Git. Let's move them to
dir.c, while renaming them to be make their functionality more explicit.

Signed-off-by: Atharva Raykar <raykar.ath@gmail.com>
Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Shourya Shukla <periperidip@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c
dir.c
dir.h