From: Saba Saba Date: Thu, 9 Feb 2023 17:26:17 +0000 (-0500) Subject: Implemented skip-modified and no-skip-all X-Git-Url: http://sabadev.xyz:4321/?a=commitdiff_plain;h=c755b18a121d0b91de4490ab7090cebfdc5b154b;p=git-repl.git Implemented skip-modified and no-skip-all --- diff --git a/git-skipper.cl b/git-skipper.cl index 91fa485..4a16240 100644 --- 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)