aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-dch
diff options
context:
space:
mode:
Diffstat (limited to 'git-dch')
-rwxr-xr-xgit-dch2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-dch b/git-dch
index ea732eb5..f0d6117a 100755
--- a/git-dch
+++ b/git-dch
@@ -66,7 +66,7 @@ def fixup_trailer():
def head_commit():
"""get the full sha1 of the last commit on HEAD"""
- commit = subprocess.Popen([ 'git-log', 'HEAD^..' ], stdout=subprocess.PIPE).stdout
+ commit = subprocess.Popen([ 'git', 'log', 'HEAD^..' ], stdout=subprocess.PIPE).stdout
sha = commit.readline().split()[-1]
return sha