aboutsummaryrefslogtreecommitdiff
path: root/git-fetch-script
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-16 10:27:19 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-16 10:27:19 -0700
commit60ea0fdd7de001405fcc7591beb18a66a1f0dd09 (patch)
tree7d8402af6a77d351b4027ee6b2625cd015e8cdbe /git-fetch-script
parent98e031f0bb6e857c684e6db24d03d22cfc1a532a (diff)
downloadgit-60ea0fdd7de001405fcc7591beb18a66a1f0dd09.tar.gz
git-60ea0fdd7de001405fcc7591beb18a66a1f0dd09.tar.xz
Fix git-fetch-script breakage
It had the test for the destination reversed.
Diffstat (limited to 'git-fetch-script')
-rwxr-xr-xgit-fetch-script2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-fetch-script b/git-fetch-script
index fce43e6dc..ab3b6f92b 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 &&