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:
7442cd8
)
Stripping 'S ' from each file returned by skipped-files
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
7556966
..
91fa485
100644
(file)
--- a/
git-skipper.cl
+++ b/
git-skipper.cl
@@
-21,7
+21,7
@@
(git "diff" "--name-only"))
(defun skipped-files ()
- (
git "ls-files" "-v" "|" *grep* "^S"
))
+ (
mapcar (lambda (x) (str:substring 2 t x)) (git "ls-files" "-v" "|" *grep* "^S")
))
(defun skip-file (file-path)
(git "update-index" "--skip-worktree" file-path))