We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
git rebase --abort
1 parent c021d43 commit 2aa7cd6Copy full SHA for 2aa7cd6
git-retimestamp
@@ -47,7 +47,7 @@ while [ "$PREV" -le "$BACK" ] ; do
47
DOLD="`git show -s --format='%ci'`"
48
DNEW="`$GDATE -d "$DOLD $OFFSET"`" && [ -n "$DNEW" ] \
49
|| { DNEW="`$GDATE -f '%Y-%m-%d %H:%M:%S %z' $OFFSET -j "$DOLD"`" && [ -n "$DNEW" ] ; } \
50
- || { echo "FATAL: No compatible 'date' program was found for the OFFSET value (and other args) used" >&2 ; exit 1 ; }
+ || { echo "FATAL: No compatible 'date' program was found for the OFFSET value (and other args) used" >&2 ; git rebase --abort; exit 1 ; }
51
52
echo "=== AMENDING:"
53
echo "=== OLD DATE: $DOLD"
0 commit comments