Skip to content

Commit 616f2ca

Browse files
committed
Log the actual command that failed
1 parent 5bf6599 commit 616f2ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gitinfo-lua-cmd.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function api:exec(command, do_caching, target_dir, no_recording, path_spec)
7575
end
7676
return s
7777
else
78-
return nil, 'Error executing git command'
78+
return nil, 'Error executing git command\n\t"' .. cmd .. '"'
7979
end
8080
end
8181

0 commit comments

Comments
 (0)