mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
etc/committer: Do not record positions when reading from git files.
This gives us a slight performance boost. * etc/committer.scm.in (main): Disable recording of positions.
This commit is contained in:
parent
0836af9a3b
commit
10c6387f5b
1 changed files with 1 additions and 0 deletions
|
@ -358,6 +358,7 @@ (define* (change-commit-message* file-name old new #:rest rest)
|
|||
(_
|
||||
(apply change-commit-message file-name old new rest)))))
|
||||
|
||||
(read-disable 'positions)
|
||||
(match (diff-info)
|
||||
(()
|
||||
(display "Nothing to be done.\n" (current-error-port)))
|
||||
|
|
Loading…
Reference in a new issue