Use new git module.

This commit is contained in:
Dominik Pantůček 2023-04-16 19:21:25 +02:00
parent 62367d7f41
commit a1f7378b84
2 changed files with 8 additions and 13 deletions

View file

@ -45,7 +45,7 @@
configuration
members-payments
mbase
util-io
util-git
progress)
;; Generate all the files in specified (default current) directory.
@ -69,14 +69,9 @@
(loop (cdr lines))))))
(with-output-to-file (make-pathname dir (sprintf "~A.log" nick))
(lambda ()
(let loop ((lines
(get-process-output-lines
"git"
"-C" (*members-directory*)
"log"
"-p"
"--"
(brmember-file-name mr))))
(let loop ((lines ((git (*members-directory*) #:output)
'log '-p '--
(brmember-file-name mr))))
(when (not (null? lines))
(print (car lines))
(loop (cdr lines))))))