aboutsummaryrefslogtreecommitdiff
path: root/b4/diff.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-05-28 12:00:38 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-05-28 12:00:38 -0400
commit5e9931c213685938c79d855856a16ff9131772d5 (patch)
treeb459a24de3bb3d3507e0380235ce1f7110277a75 /b4/diff.py
parenta926bac9e6c222e1bfe87ce79d925083c5879060 (diff)
downloadb4-5e9931c213685938c79d855856a16ff9131772d5.tar.gz
Add --no-cover and -o - to output to stdout
By request, provide a way to output the results of b4 am to stdout. This way it can be piped straight to "git am". E.g.: b4 diff 20200526205322.23465-1-mic@digikod.net -o - | git am Requested-by: Rob Herring <robh@kernel.org> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/diff.py')
-rw-r--r--b4/diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/diff.py b/b4/diff.py
index 33a8b0c..7e9125b 100644
--- a/b4/diff.py
+++ b/b4/diff.py
@@ -57,7 +57,7 @@ def diff_same_thread_series(cmdargs):
lmbx.add_message(msg)
mbx.close()
- os.unlink(mboxfile)
+ os.unlink(savefile)
if wantvers and len(wantvers) == 1:
upper = max(lmbx.series.keys())