aboutsummaryrefslogtreecommitdiff
path: root/b4/command.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-12-14 13:27:59 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-12-14 13:27:59 -0500
commit4e396d2091fe70d2217865a1836695e00b5067f2 (patch)
treea4ff1768db4250bfe71becca5ab989db84395655 /b4/command.py
parent7fd417718e2cde644fd6b6529ca30bfb10ba3a01 (diff)
downloadb4-4e396d2091fe70d2217865a1836695e00b5067f2.tar.gz
Fix crasher when we don't use -g with b4 pr
If we're not passing -g to "b4 pr -e", then we should try to see if we are inside a git checkout and use that as our source. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/command.py')
-rw-r--r--b4/command.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/b4/command.py b/b4/command.py
index 1e571a6..0c87df9 100644
--- a/b4/command.py
+++ b/b4/command.py
@@ -143,8 +143,6 @@ def cmd():
help='Convert a pull request into an mbox full of patches')
sp_pr.add_argument('-o', '--output-mbox', dest='outmbox', default=None,
help='Save exploded messages into this mailbox (default: msgid.mbx)')
- sp_pr.add_argument('-p', '--public-inbox', dest='pi', default=None,
- help='Append exploded messages into this public-inbox repository')
sp_pr.add_argument('-l', '--retrieve-links', action='store_true', dest='getlinks', default=False,
help='Attempt to retrieve any Link: URLs (use with -e)')
sp_pr.add_argument('-f', '--from-addr', dest='mailfrom', default=None,