diff options
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..... |