X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-fetch.sh;h=673a1841793ff5cd5b3422471dfaebf049b5b63e;hb=2ab706a38fbe6f4adb2fd09806a5d5faf33d355f;hp=4928cd5bed7dd6a5bd4653f51a45c611bf8e9379;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/git-fetch.sh b/git-fetch.sh index 4928cd5b..673a1841 100755 --- a/git-fetch.sh +++ b/git-fetch.sh @@ -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