aboutsummaryrefslogtreecommitdiffstats
path: root/src/repo/s6-rc-set-commit.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-12-20 23:50:19 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-12-20 23:50:19 +0000
commitb24a07fca1f2a410b3d97d1e3dc5de7720ad1d76 (patch)
treeb7294449f6640f2b9f75b5783d734464bd1dc8cd /src/repo/s6-rc-set-commit.c
parent6dd777fafbd23296d6bd91f8076f4b0ea5bae24e (diff)
downloads6-rc-b24a07fca1f2a410b3d97d1e3dc5de7720ad1d76.tar.gz
Working repo fix that understands pipelines
Diffstat (limited to 'src/repo/s6-rc-set-commit.c')
-rw-r--r--src/repo/s6-rc-set-commit.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/repo/s6-rc-set-commit.c b/src/repo/s6-rc-set-commit.c
index e5a3619..95af67d 100644
--- a/src/repo/s6-rc-set-commit.c
+++ b/src/repo/s6-rc-set-commit.c
@@ -88,6 +88,20 @@ int main (int argc, char const *const *argv)
}
}
+ {
+ stralloc sa = STRALLOC_ZERO ;
+ genalloc svlist = GENALLOC_ZERO ; /* s6rc_repo_sv */
+ genalloc badga = GENALLOC_ZERO ; /* uint32_t */
+ genalloc gatmp = GENALLOC_ZERO ; /* size_t whatever */
+ int e = s6rc_repo_fixset(wgola[GOLA_REPODIR], argv[0], 8, verbosity, &sa, &svlist, &badga, &gatmp) ;
+ if (e == 1) strerr_diefu1x(1, "commit: found inconsistent dependencies") ;
+ if (e) _exit(e) ;
+ // genalloc_free(uint32_t, &badga) ;
+ // genalloc_free(s6rc_repo_sv, &svlist) ;
+ // genalloc_free(&gatmp) ;
+ // stralloc_free(&sa) ;
+ }
+
size_t oldclen = S6RC_REPO_COMPILE_BUFLEN(strlen(wgola[GOLA_REPODIR]), strlen(argv[0])) ;
char oldc[oldclen] ;