diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2016-04-30 22:35:40 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-05-01 01:55:58 +0300 |
commit | 9f20c2184e8fe89aaf0fca1a5d6945c58e0cbc99 (patch) | |
tree | 7d101d627ee3a88ed4fa180215092391bb1b5d3a /scripts/generate-AUTHORS.py | |
parent | cb8cbd0411e23fdc1ab9d824f33fd156bb6fb8a5 (diff) |
scripts/generate-AUTHORS.py: use 'origin/branch' instead of just 'branch' in git log call.
This allows the script to work even if, say, origin/1.2.x is not checked
out locally as '1.2.x'.
Diffstat (limited to 'scripts/generate-AUTHORS.py')
-rw-r--r-- | scripts/generate-AUTHORS.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-AUTHORS.py b/scripts/generate-AUTHORS.py index 004a7a2a1..5cd44ae4d 100644 --- a/scripts/generate-AUTHORS.py +++ b/scripts/generate-AUTHORS.py @@ -113,7 +113,7 @@ patchAuthors = ( ) def gitAuthorsOutput(): - p = subprocess.Popen(["git", "log", "--use-mailmap", "--format=%aN <%aE>", "master", "1.2.x"], stdout=subprocess.PIPE) + p = subprocess.Popen(["git", "log", "--use-mailmap", "--format=%aN <%aE>", "origin/master", "origin/1.2.x"], stdout=subprocess.PIPE) stdout, stderr = p.communicate() if stdout is not None: stdout = stdout.decode('utf-8') |