Code

Fix git-fetch-script breakage
authorLinus Torvalds <torvalds@g5.osdl.org>
Sat, 16 Jul 2005 17:27:19 +0000 (10:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 16 Jul 2005 17:27:19 +0000 (10:27 -0700)
It had the test for the destination reversed.

git-fetch-script

index fce43e6dc07c698eba292f5f07f9c24786280e0e..ab3b6f92bbc83b2a8c32c30bce6f98bbe6b90b75 100755 (executable)
@@ -29,6 +29,8 @@ git-rev-parse --verify "$head" > /dev/null || exit 1
 
 case "$merge_store" in
 '')
+       ;;
+*)
        echo "$head" > "$GIT_DIR/$merge_store"
 esac &&