summaryrefslogtreecommitdiffstats
path: root/utils/common/gitscraper.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/common/gitscraper.py')
-rwxr-xr-xutils/common/gitscraper.py2
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):
'''
print("Getting list of refs")
output = subprocess.Popen(
- ["git", "show-ref", "--abbrev"],
+ ["git", "show-ref", "--abbrev", "--head"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=repo)
cmdout = output.communicate()
refs = dict()