Abort if --rejoin fails.

Thanks to Eduardo Kienetz for noticing this.
This commit is contained in:
Avery Pennarun 2009-04-30 21:57:32 -04:00
parent 942dce5578
commit ea28d67442

View File

@ -406,7 +406,7 @@ cmd_split()
latest_old=$(cache_get latest_old) latest_old=$(cache_get latest_old)
git merge -s ours \ git merge -s ours \
-m "$(merge_msg $dir $latest_old $latest_new)" \ -m "$(merge_msg $dir $latest_old $latest_new)" \
$latest_new >&2 $latest_new >&2 || exit $?
fi fi
echo $latest_new echo $latest_new
exit 0 exit 0