diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-04-15 18:31:36 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-04-15 18:31:36 -0400 |
commit | d6d552386ad2fc7b215a4a4e9860144975a3240f (patch) | |
tree | 35636d3c35e38eb9d29ae3486e8c82e362c96ab8 /b4/command.py | |
parent | 4b017e7ccadfe95f88fdd5c6834960eb4c6b0a11 (diff) | |
download | b4-d6d552386ad2fc7b215a4a4e9860144975a3240f.tar.gz |
Changes to b4 ty based on developer feedback
- Properly expand ~ and env vars like $HOME in template paths
- Allow partial matching of series (with a warning)
- Allow using remote branches with -b
- Always fall back to subject matching for patches
- Tweak to the summary output
Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/command.py')
-rw-r--r-- | b4/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/command.py b/b4/command.py index 6d5e054..d5f06dc 100644 --- a/b4/command.py +++ b/b4/command.py @@ -191,7 +191,7 @@ if __name__ == '__main__': dotgit = os.path.join(base, '.git') ecode, short = b4.git_run_command(dotgit, ['rev-parse', '--short', 'HEAD']) if ecode == 0: - b4.__VERSION__ = '%s-%s' % (b4.__VERSION__, short.strip()) + b4.__VERSION__ = '%s-%.5s' % (b4.__VERSION__, short.strip()) except Exception as ex: # Any failures above are non-fatal pass |