summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-subtree.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-subtree.sh b/git-subtree.sh
index 39c377c173..692792b864 100755
--- a/git-subtree.sh
+++ b/git-subtree.sh
@@ -406,7 +406,7 @@ cmd_split()
latest_old=$(cache_get latest_old)
git merge -s ours \
-m "$(merge_msg $dir $latest_old $latest_new)" \
- $latest_new >&2
+ $latest_new >&2 || exit $?
fi
echo $latest_new
exit 0