From: Linus Torvalds Date: Sat, 16 Jul 2005 17:27:19 +0000 (-0700) Subject: Fix git-fetch-script breakage X-Git-Tag: v0.99.2~50 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=60ea0fdd7de001405fcc7591beb18a66a1f0dd09;p=git.git Fix git-fetch-script breakage It had the test for the destination reversed. --- diff --git a/git-fetch-script b/git-fetch-script index fce43e6d..ab3b6f92 100755 --- a/git-fetch-script +++ b/git-fetch-script @@ -29,6 +29,8 @@ git-rev-parse --verify "$head" > /dev/null || exit 1 case "$merge_store" in '') + ;; +*) echo "$head" > "$GIT_DIR/$merge_store" esac &&