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:
d42f79f
)
Implemented skip-modified and no-skip-all
author
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:17 +0000
(12:26 -0500)
committer
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:17 +0000
(12:26 -0500)
git-skipper.cl
patch
|
blob
|
history
diff --git
a/git-skipper.cl
b/git-skipper.cl
index
91fa485
..
4a16240
100644
(file)
--- a/
git-skipper.cl
+++ b/
git-skipper.cl
@@
-29,10
+29,16
@@
(defun no-skip-file (file-path)
(git "update-index" "--no-skip-worktree" file-path))
+(defun skip-modified ()
+ (mapcar #'skip-file (modified-files)))
+
+(defun no-skip-all ()
+ (mapcar #'no-skip-file (skipped-files)))
+
(defun status ()
(git "status"))
-(no-skip-
file "git-skipper.cl"
)
-(skip-
file "git-skipper.cl"
)
+(no-skip-
all
)
+(skip-
modified
)
(modified-files)
(skipped-files)