projects
/
git-repl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d53555
)
Defined a git macro to make it easier to define git commands.
author
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:16 +0000
(12:26 -0500)
committer
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:16 +0000
(12:26 -0500)
git-skipper.cl
patch
|
blob
|
history
diff --git
a/git-skipper.cl
b/git-skipper.cl
index
e69de29
..
66a0c18
100644
(file)
--- a/
git-skipper.cl
+++ b/
git-skipper.cl
@@
-0,0
+1,7
@@
+(ql:quickload "cl-utilities")
+
+(in-package :cl-user)
+
+(defmacro git (&rest arguments)
+ `(mapcar (lambda (x) (string-trim " " x))
+ (cl-utilities:split-sequence #\newline (uiop:run-program (list "git" ,@arguments) :input nil :output :string))))