From 4188d8883440bea3ab34973b3fdc9901f0a61b14 Mon Sep 17 00:00:00 2001 From: hbarnett Date: Wed, 22 Mar 2017 15:21:30 +1100 Subject: [PATCH] Changing double quotes to single quotes as git log is double quoting %N lines with spaces in them leading to fields having mismatched quotes. This should fix that --- store/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/reader.go b/store/reader.go index 273936d..0b14e77 100644 --- a/store/reader.go +++ b/store/reader.go @@ -28,7 +28,7 @@ func ParseInputType(input string) InputType { } func CommitMeasureCommand(prefix string) *exec.Cmd { - return GitLog("git-ratchet-1-"+prefix, "HEAD", `%H,%ae,%at,"%N",`) + return GitLog("git-ratchet-1-"+prefix, "HEAD", `%H,%ae,%at,'%N',`) } func CommitMeasures(gitlog *exec.Cmd) (func() (CommitMeasure, error), error) {