diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/common/gitscraper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/gitscraper.py b/utils/common/gitscraper.py index c7a2c3a563..5b3b316115 100755 --- a/utils/common/gitscraper.py +++ b/utils/common/gitscraper.py | |||
@@ -43,7 +43,7 @@ def get_refs(repo): | |||
43 | ''' | 43 | ''' |
44 | print("Getting list of refs") | 44 | print("Getting list of refs") |
45 | output = subprocess.Popen( | 45 | output = subprocess.Popen( |
46 | ["git", "show-ref", "--abbrev"], | 46 | ["git", "show-ref", "--abbrev", "--head"], |
47 | stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=repo) | 47 | stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=repo) |
48 | cmdout = output.communicate() | 48 | cmdout = output.communicate() |
49 | refs = dict() | 49 | refs = dict() |