diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-04-08 03:00:57 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-04-08 03:10:14 +0200 |
commit | 43fb6b765d82ea5acfdc83f61472d99594ee1cbf (patch) | |
tree | 47eb85831b21244f52255257b38bffe3e3d30fc9 /bootstrap | |
parent | 56270c1275d8dcdec80c04c032079b694204052a (diff) | |
download | guix-43fb6b765d82ea5acfdc83f61472d99594ee1cbf.tar guix-43fb6b765d82ea5acfdc83f61472d99594ee1cbf.tar.gz |
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 'bootstrap')
0 files changed, 0 insertions, 0 deletions