diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-05-28 12:00:38 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-05-28 12:03:18 -0400 |
commit | 8e654910e1b1fcf3afa903d9952539794eef0d1a (patch) | |
tree | 32e5957c7d343b11723d793055fad694203f7869 /b4/diff.py | |
parent | 53ec526927fb224c4252ef172d248bef7d4b1081 (diff) | |
download | b4-8e654910e1b1fcf3afa903d9952539794eef0d1a.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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()) |