Skip to content

Commit 4a4bbde

Browse files
committed
Remove committer name from git log format string. (#7)
This does not prevent quotes from messing up the output. However, it does remove the most likely candidate for containing quotes.
1 parent 22218ee commit 4a4bbde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func ParseInputType(input string) InputType {
2828
}
2929

3030
func CommitMeasureCommand(prefix string) *exec.Cmd {
31-
return GitLog("git-ratchet-1-"+prefix, "HEAD", `%H,%an <%ae>,%at,"%N",`)
31+
return GitLog("git-ratchet-1-"+prefix, "HEAD", `%H,%ae,%at,"%N",`)
3232
}
3333

3434
func CommitMeasures(gitlog *exec.Cmd) (func() (CommitMeasure, error), error) {

0 commit comments

Comments
 (0)