Skip to content

Commit 477e8bc

Browse files
committed
use 3way merge for git-am
Signed-off-by: MORITA Kazutaka <[email protected]>
1 parent a629591 commit 477e8bc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

git-qpush

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,5 @@ for p in $(sed -n -e "${sidx},${eidx}p" "$series"); do
124124
echo "Patch applied."
125125
elif [ -z "$abort_flag" ]; then
126126
die "Patch applied with rejects. Fix it up, and refresh."
127-
else
128-
die "To force apply this patch, use 'git qpush -f'"
129127
fi
130128
done

git-qsh-setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ push_patch()
114114
if [ "$bail_action" = abort ]; then
115115
reject=""
116116
fi
117-
git am -s $reject "$p" > /dev/null 2> "$TMP_LOG"
117+
git am -3 -s $reject "$p" > /dev/null 2> "$TMP_LOG"
118118
__push_patch_bail=$?
119119

120120
if [ $__push_patch_bail -ne 0 ]; then

0 commit comments

Comments
 (0)