Hi,
On Sun, 23 Mar 2008, Jörg Sommer wrote:
Signed-off-by: Jörg Sommer <redacted>
"Rework" is not really informative.
- output git merge $STRATEGY -m "$msg" \
- $new_parents
+ output git merge $STRATEGY -m "$msg" "$@"
This should rather go into 1/4.
quoted hunk ↗ jump to hunk
@@ -197,8 +199,7 @@ pick_one_preserving_merges () {
case "$new_parents" in
' '*' '*)
# No point in merging the first parent, that's HEAD
- new_parents=${new_parents# $first_parent}
- redo_merge
+ redo_merge $sha1 ${new_parents# $first_parent}
Likewise.
Sidenote: it is a bit of cheating to set sha1=$1 in redo_merge(), since it
is _not_ a local variable there, but the code _relies_ on sha1 being the
same after calling redo_merge().
Ciao,
Dscho