sequence-patch: Fix --skip-reverse error displaying and logging
authorJean Delvare <jdelvare@suse.de>
Thu, 5 Dec 2013 16:10:50 +0000 (17:10 +0100)
committerJean Delvare <jdelvare@suse.de>
Thu, 5 Dec 2013 16:10:50 +0000 (17:10 +0100)
commit2e12c09045ace0a021b2774c9bfcc7bd316d5196
treea9c928d4ac49d448e56ba6b0b2ba241af68ecdf1
parentbb5d6cd878029350f41b3df10d18ccd5138aaa67
sequence-patch: Fix --skip-reverse error displaying and logging

When running with --skip-reverse, we are not interested in the output
of patch when attempting to apply the patch in reverse. If the
attempt is successful, we only want to display and log that the patch
was skipped. If the attempt to apply the patch in reverse fails, we
want to display and log the error from applying the original patch,
not from applying the patch in reverse.
scripts/sequence-patch.sh