porcelain added where needed
This commit is contained in:
@@ -76,5 +76,9 @@
|
|||||||
(def-cmd git-commit cmd-git-commit 'commit
|
(def-cmd git-commit cmd-git-commit 'commit
|
||||||
(λ (args) (check-git-args 'commit args '((-m 1 "A commit message is mandatory"))))
|
(λ (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)
|
(def-cmd git-pull cmd-git-pull 'pull)
|
||||||
|
|||||||
@@ -50,7 +50,6 @@
|
|||||||
|
|
||||||
|
|
||||||
(define (std-process-git-result cmd result output out)
|
(define (std-process-git-result cmd result output out)
|
||||||
(displayln output)
|
|
||||||
(git-displ out)
|
(git-displ out)
|
||||||
(if result
|
(if result
|
||||||
result
|
result
|
||||||
|
|||||||
Reference in New Issue
Block a user