diff options
author | Tom Rini <trini@ti.com> | 2014-09-09 20:02:43 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-09 20:02:43 -0400 |
commit | 5935408a4092a1a132ff1ce866374ab1ed555bcd (patch) | |
tree | 232412fb1d28582fc261a23d04f866c795e72d19 /tools/patman/patchstream.py | |
parent | 8c9c74e4c69b43cd50a1f04b34cfc141ed21654c (diff) | |
parent | d0ea61d9caf85e4285d5c2da508db9fac70e4aba (diff) | |
download | u-boot-imx-5935408a4092a1a132ff1ce866374ab1ed555bcd.zip u-boot-imx-5935408a4092a1a132ff1ce866374ab1ed555bcd.tar.gz u-boot-imx-5935408a4092a1a132ff1ce866374ab1ed555bcd.tar.bz2 |
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'tools/patman/patchstream.py')
-rw-r--r-- | tools/patman/patchstream.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index b0b8153..d630157 100644 --- a/tools/patman/patchstream.py +++ b/tools/patman/patchstream.py @@ -355,7 +355,7 @@ class PatchStream: def GetMetaDataForList(commit_range, git_dir=None, count=None, - series = Series()): + series = None, allow_overwrite=False): """Reads out patch series metadata from the commits This does a 'git log' on the relevant commits and pulls out the tags we @@ -367,9 +367,13 @@ def GetMetaDataForList(commit_range, git_dir=None, count=None, count: Number of commits to list, or None for no limit series: Series object to add information into. By default a new series is started. + allow_overwrite: Allow tags to overwrite an existing tag Returns: A Series object containing information about the commits. """ + if not series: + series = Series() + series.allow_overwrite = allow_overwrite params = gitutil.LogCmd(commit_range,reverse=True, count=count, git_dir=git_dir) stdout = command.RunPipe([params], capture=True).stdout |