Skip to content

Commit 951108b

Browse files
not-an-aardvarkevanlucas
authored andcommitted
bin: force format for git show
Fixes issues that arise from custom git config for log. Fixes: #4
1 parent b738164 commit 951108b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function load(sha, cb) {
4646
return loadPatch(parsed, cb)
4747
}
4848

49-
exec(`git show --quiet ${sha}`, (err, stdout, stderr) => {
49+
exec(`git show --quiet --format=medium ${sha}`, (err, stdout, stderr) => {
5050
if (err) return cb(err)
5151
cb(null, stdout.trim())
5252
})

0 commit comments

Comments
 (0)