зеркало из https://github.com/microsoft/git.git
Make sure we have leading directories under refs/{heads,tags}
Otherwise having subdirectories under refs/heads becomes rather unwieldy. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
d5e34380af
Коммит
866ff2f7ce
|
@ -94,6 +94,7 @@ append_fetch_head () {
|
|||
}
|
||||
|
||||
fast_forward_local () {
|
||||
mkdir -p "$(dirname "$GIT_DIR/$1")"
|
||||
case "$1" in
|
||||
refs/tags/*)
|
||||
# Tags need not be pointing at commits so there
|
||||
|
|
Загрузка…
Ссылка в новой задаче