aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/git.py')
-rw-r--r--libbe/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/git.py b/libbe/git.py
index 137cb35..3abe3b8 100644
--- a/libbe/git.py
+++ b/libbe/git.py
@@ -134,7 +134,7 @@ class Git(vcs.VCS):
if status == 128:
if error.startswith("fatal: ambiguous argument 'HEAD': unknown "):
return None
- raise vcs.CommandError(args, status, error)
+ raise vcs.CommandError(args, status, stdout="", stderr=error)
commits = output.splitlines()
try:
return commits[index]