[PATCH] git-cvs2git: create tags
[gitweb.git] / git-fetch-script
index 17f22afedda0353a47bbac80d41d2908b8030f1b..7cd88b93b21c47018be7de84e7b1252d32c6098f 100755 (executable)
@@ -35,7 +35,7 @@ download_objects () {
 }
 
 echo "Getting remote $merge_name"
-download_one "$merge_repo/$merge_name" "$GIT_DIR"/MERGE_HEAD
+download_one "$merge_repo/$merge_name" "$GIT_DIR"/MERGE_HEAD || exit 1
 
 echo "Getting object database"
-download_objects "$merge_repo" "$(cat "$GIT_DIR"/MERGE_HEAD)"
+download_objects "$merge_repo" "$(cat "$GIT_DIR"/MERGE_HEAD)" || exit 1