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:00:38 -0400 |
commit | 5e9931c213685938c79d855856a16ff9131772d5 (patch) | |
tree | b459a24de3bb3d3507e0380235ce1f7110277a75 /b4/diff.py | |
parent | a926bac9e6c222e1bfe87ce79d925083c5879060 (diff) | |
download | b4-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.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()) |