We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf1e1f6 commit 4c681b3Copy full SHA for 4c681b3
travis/test.sh
@@ -137,6 +137,24 @@ EOF
137
exit 1
138
fi
139
140
+ git add file
141
+ GIT_EDITOR=true git revert --continue
142
+ LOG=$($SEQDIR/sequencer-status | __sanitize_log)
143
+ REF_LOG=$(cat <<EOF | __sanitize_log
144
+# Reverting
145
+*revert 382e384 Third commit
146
+done 5f46594 Revert "Second commit"
147
+done 6ff346f Revert "Fourth commit"
148
+onto 6570375 Fourth commit
149
+EOF
150
+ )
151
+
152
+ diff <(echo "$LOG") <(echo "$REF_LOG")
153
+ if [ $? -ne 0 ]; then
154
+ echo "Failure in revert mode" >&2
155
+ exit 1
156
+ fi
157
158
git revert --abort
159
160
echo "Checking single revert support"
0 commit comments