summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0bb733c)
raw | patch | inline | side by side (parent: 0bb733c)
author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 28 Dec 2006 07:35:01 +0000 (02:35 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 28 Dec 2006 09:07:37 +0000 (01:07 -0800) |
If git-merge exits with a non-zero exit status so should git-pull.
This way the caller of git-pull knows the task did not complete
successfully simply by checking the process exit status.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This way the caller of git-pull knows the task did not complete
successfully simply by checking the process exit status.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-pull.sh | patch | blob | history |
diff --git a/git-pull.sh b/git-pull.sh
index fd4ffb858af681860820ce27c478271f9cada792..27259464ff3461c08ff77942a81e9b03eff094ec 100755 (executable)
--- a/git-pull.sh
+++ b/git-pull.sh
esac
merge_name=$(git-fmt-merge-msg <"$GIT_DIR/FETCH_HEAD") || exit
-git-merge $no_summary $no_commit $squash $strategy_args \
+exec git-merge $no_summary $no_commit $squash $strategy_args \
"$merge_name" HEAD $merge_head