diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-06-22 10:10:16 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-06-22 10:10:16 -0400 |
commit | 48bdd2a2de11bfac3ac25fcb9930dbbf44fcddef (patch) | |
tree | 3ef63ad2840c03875a6ac8bf9421546f01f6cb64 /b4/command.py | |
parent | 9622ab417325c6d60f5e9e95f4e3786bf6f0e2d5 (diff) | |
download | b4-48bdd2a2de11bfac3ac25fcb9930dbbf44fcddef.tar.gz |
Additional --guess-base refinements
Use --all by default, instead of limiting ourselves just to the current
HEAD. This is actually a faster operation, because we don't have to
pre-filter results.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/command.py')
-rw-r--r-- | b4/command.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/b4/command.py b/b4/command.py index ebbb361..5bb3384 100644 --- a/b4/command.py +++ b/b4/command.py @@ -120,8 +120,8 @@ def cmd(): '"-P *globbing*" to match on commit subject)') sp_am.add_argument('-g', '--guess-base', dest='guessbase', action='store_true', default=False, help='Try to guess the base of the series (if not specified)') - sp_am.add_argument('-b', '--guess-branch', dest='guessbranch', default='HEAD', - help='When guessing base, use this branch instead of HEAD (use with -g)') + sp_am.add_argument('-b', '--guess-branch', dest='guessbranch', default=None, + help='When guessing base, restrict to this branch (use with -g)') sp_am.add_argument('--guess-lookback', dest='guessdays', type=int, default=14, help='When guessing base, go back this many days from the date of the patch') sp_am.add_argument('-3', '--prep-3way', dest='threeway', action='store_true', default=False, |