summaryrefslogtreecommitdiff
path: root/etc/guix-daemon.cil.in
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-04-08 03:00:57 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-04-08 03:10:14 +0200
commit43fb6b765d82ea5acfdc83f61472d99594ee1cbf (patch)
tree47eb85831b21244f52255257b38bffe3e3d30fc9 /etc/guix-daemon.cil.in
parent56270c1275d8dcdec80c04c032079b694204052a (diff)
etc/committer: Record minimal context for hunks to avoid problems.
With zero context new definitions would be applied to the wrong location in the file. More context lines lead to larger hunks, though, so we use just one line of context. * etc/committer.scm.in (diff-info): Invoke "git diff" with one line of context. [info]: Merge line break and first line. (lines-to-first-change): New procedure. (old-sexp, new-sexp): Use it.
Diffstat (limited to 'etc/guix-daemon.cil.in')
0 files changed, 0 insertions, 0 deletions