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:
622e51b
)
Implemended config-diff
author
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:20 +0000
(12:26 -0500)
committer
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:20 +0000
(12:26 -0500)
git-repl.cl
patch
|
blob
|
history
diff --git
a/git-repl.cl
b/git-repl.cl
index
c46cfbf
..
c67a497
100644
(file)
--- a/
git-repl.cl
+++ b/
git-repl.cl
@@
-163,9
+163,9
@@
(write-line "Skipping files...")
(skip-modified))))
-(defun-public config-diff ()
+(defun-public config-diff (
file-path
)
"Saves the current configuration to the specified file"
- (config-do (
mapcar #'write-line (git "diff"
))))
+ (config-do (
str:to-file file-path (run-git '("diff") :list-output nil
))))
(defun-public delete-branch (branch-name)
"Deletes the given local branch name"