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:
Ricardo Wurmus 2023-09-21 16:01:30 +02:00
parent 0836af9a3b
commit 10c6387f5b
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ modifying."
(_
(apply change-commit-message file-name old new rest)))))
(read-disable 'positions)
(match (diff-info)
(()
(display "Nothing to be done.\n" (current-error-port)))