Skip to content

Commit 726a7c0

Browse files
committed
fix: return full hash
1 parent 84a40e1 commit 726a7c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pkg_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def pkg_commit_hash(pkg_path):
4848
if install_subst != '':
4949
return 'installation', install_subst
5050
# maybe we are in a repository
51-
proc = subprocess.Popen('git rev-parse --short HEAD',
51+
proc = subprocess.Popen('git rev-parse HEAD',
5252
stdout=subprocess.PIPE,
5353
stderr=subprocess.PIPE,
5454
cwd=pkg_path, shell=True)

0 commit comments

Comments
 (0)