diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2021-03-22 09:12:19 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2021-03-22 14:57:08 +0000 |
commit | 3468f8758aa58c5e8bdf881f6bb5f05717cc31d7 (patch) | |
tree | 82eda2a4ca41f7e24ab80221d14dbb9d5a621aa7 /toolbin | |
parent | c6818f09398e22e5ebf6e7a2816e90d32f997d1e (diff) | |
download | ghostpdl-3468f8758aa58c5e8bdf881f6bb5f05717cc31d7.tar.gz |
Tweak gitlog2changelog.py to exclude the per-commit file list
Diffstat (limited to 'toolbin')
-rwxr-xr-x | toolbin/gitlog2changelog.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolbin/gitlog2changelog.py b/toolbin/gitlog2changelog.py index 398916d03..69ff601f0 100755 --- a/toolbin/gitlog2changelog.py +++ b/toolbin/gitlog2changelog.py @@ -51,7 +51,9 @@ else: for csum in commit_list: # we have to use the slightly baroque syntax: git log --cc --topo-order <commit>^...<commit> # where the "^" indicates the commit prior to the one we're processing with - cmd="git log --name-only --topo-order --date=iso -n1 " + csum + "^" + "..." + csum +# cmd="git log --name-only --topo-order --date=iso -n1 " + csum + "^" + "..." + csum + + cmd="git log --name-only --topo-order --date=iso -n1 " + csum + "^" + "..." + csum # this leaves out the file list for each commit res = os.popen(cmd, "r") commit=res.readlines() # This assumes the order of the lines..... |