porcelain added where needed

This commit is contained in:
2026-08-12 15:57:40 +02:00
parent 5319c0ce37
commit 0e804bb180
2 changed files with 5 additions and 2 deletions
+5 -1
View File
@@ -76,5 +76,9 @@
(def-cmd git-commit cmd-git-commit 'commit
(λ (args) (check-git-args 'commit args '((-m 1 "A commit message is mandatory"))))
)
(def-cmd git-push cmd-git-push 'push)
(def-cmd git-push cmd-git-push 'push
(λ (args) (if (has-git-arg? args '--porcelain)
args
(cons '--porcelain args)))
)
(def-cmd git-pull cmd-git-pull 'pull)
-1
View File
@@ -50,7 +50,6 @@
(define (std-process-git-result cmd result output out)
(displayln output)
(git-displ out)
(if result
result