[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
86/86: etc/committer: Recompute hunks before processing changes.
From: |
guix-commits |
Subject: |
86/86: etc/committer: Recompute hunks before processing changes. |
Date: |
Wed, 7 Apr 2021 21:22:19 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 83991a34d5c1d4985e54dd029a81412277ad062a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Apr 8 03:08:00 2021 +0200
etc/committer: Recompute hunks before processing changes.
* etc/committer.scm.in (main): Re-evaluate diff-info after processing
insertions.
---
etc/committer.scm.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 376e1ac..7991dc7 100755
--- a/etc/committer.scm.in
+++ b/etc/committer.scm.in
@@ -306,6 +306,8 @@ modifying."
(usleep %delay)
(unless (eqv? 0 (status:exit-val (close-pipe port)))
(error "Cannot commit")))))
- (new+old+hunks changes))))))
+ ;; XXX: we recompute the hunks here because previous
+ ;; insertions lead to offsets.
+ (new+old+hunks (diff-info)))))))
(main)
- 31/86: gnu: r-tiff: Update to 0.1-8., (continued)
- 31/86: gnu: r-tiff: Update to 0.1-8., guix-commits, 2021/04/07
- 19/86: gnu: r-rbibutils: Update to 2.1., guix-commits, 2021/04/07
- 35/86: gnu: r-sf: Update to 0.9-8., guix-commits, 2021/04/07
- 24/86: gnu: r-ggeffects: Update to 1.0.2., guix-commits, 2021/04/07
- 47/86: gnu: r-shapes: Update to 1.2.6., guix-commits, 2021/04/07
- 53/86: gnu: r-spatstat-utils: Update to 2.1-0., guix-commits, 2021/04/07
- 55/86: gnu: r-spatstat-data: Update to 2.1-0., guix-commits, 2021/04/07
- 54/86: gnu: r-spatstat-sparse: Update to 2.0-0., guix-commits, 2021/04/07
- 59/86: gnu: r-spatstat: Update to 2.1-0., guix-commits, 2021/04/07
- 60/86: gnu: r-cpp11: Update to 0.2.7., guix-commits, 2021/04/07
- 86/86: etc/committer: Recompute hunks before processing changes.,
guix-commits <=
- 74/86: gnu: r-stars: Update to 0.5-2., guix-commits, 2021/04/07
- 76/86: gnu: r-dbplyr: Update to 2.1.1., guix-commits, 2021/04/07
- 67/86: gnu: r-phangorn: Update to 2.6.3., guix-commits, 2021/04/07
- 66/86: gnu: r-qtl: Update to 1.48-1., guix-commits, 2021/04/07
- 72/86: gnu: r-ragg: Update to 1.1.2., guix-commits, 2021/04/07
- 25/86: gnu: r-effectsize: Update to 0.4.4-1., guix-commits, 2021/04/07
- 39/86: gnu: r-styler: Update to 1.4.1., guix-commits, 2021/04/07
- 38/86: gnu: r-tweenr: Update to 1.0.2., guix-commits, 2021/04/07
- 49/86: gnu: r-packrat: Update to 0.6.0., guix-commits, 2021/04/07
- 50/86: gnu: r-latex2exp: Update to 0.5.0., guix-commits, 2021/04/07