summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-03-22 09:12:19 +0000
committerChris Liddell <chris.liddell@artifex.com>2021-03-22 14:57:46 +0000
commitf40d70eeb5194a51fc585cb9ac9037c12557a826 (patch)
tree5f503ad5d1dfe08f910a5908db49c8bc989da106
parent4a7db3c313f4c3e0e5ea87510b0d353b4441368f (diff)
downloadghostpdl-f40d70eeb5194a51fc585cb9ac9037c12557a826.tar.gz
Tweak gitlog2changelog.py to exclude the per-commit file list
-rwxr-xr-xtoolbin/gitlog2changelog.py4
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.....