Skip to content

Commit

Permalink
Handle spaces in git config values (#240)
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Sirish <aditya@saky.in>
  • Loading branch information
adityasaky authored Feb 17, 2023
1 parent c8a399c commit 4d285f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func parseConfig(r io.Reader) map[string]string {
if len(data) < 2 {
continue
}
out[data[0]] = data[1]
out[data[0]] = strings.Join(data[1:], " ")
}
return out
}
Expand Down

0 comments on commit 4d285f0

Please sign in to comment.