summaryrefslogtreecommitdiff
path: root/b4/mbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'b4/mbox.py')
-rw-r--r--b4/mbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/b4/mbox.py b/b4/mbox.py
index 5494cab..a859c21 100644
--- a/b4/mbox.py
+++ b/b4/mbox.py
@@ -151,7 +151,7 @@ def mbox_to_am(mboxfile, cmdargs):
else:
best_matches = None
# sort the tags by authordate
- gitargs = ['tag', '-l', '--sort=-creatordate']
+ gitargs = ['tag', '-l', '--sort=-taggerdate']
lines = b4.git_get_command_lines(None, gitargs)
if lines:
# Check last 10 tags
@@ -159,7 +159,7 @@ def mbox_to_am(mboxfile, cmdargs):
logger.debug('Checking base-commit possibility for %s', tag)
checked, mismatches = lser.check_applies_clean(topdir, tag)
if mismatches == 0 and checked != mismatches:
- base_commit = tag
+ cleanmsg = ' (applies clean to: %s)' % tag
break
# did they all mismatch?
if checked == mismatches: