mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
refactor: simplify log format
This commit is contained in:
@ -446,14 +446,4 @@ func (self *CommitLoader) getLogCmd(opts GetCommitsOptions) oscommands.ICmdObj {
|
|||||||
).DontLog()
|
).DontLog()
|
||||||
}
|
}
|
||||||
|
|
||||||
var prettyFormat = fmt.Sprintf(
|
const prettyFormat = `--pretty=format:"%H%x00%at%x00%aN%x00%ae%x00%d%x00%p%x00%s"`
|
||||||
"--pretty=format:\"%%H%s%%at%s%%aN%s%%ae%s%%d%s%%p%s%%s\"",
|
|
||||||
NULL_CODE,
|
|
||||||
NULL_CODE,
|
|
||||||
NULL_CODE,
|
|
||||||
NULL_CODE,
|
|
||||||
NULL_CODE,
|
|
||||||
NULL_CODE,
|
|
||||||
)
|
|
||||||
|
|
||||||
const NULL_CODE = "%x00"
|
|
||||||
|
Reference in New Issue
Block a user