diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-09-14 23:57:17 +0200 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-14 18:46:01 -0400 |
commit | df0e6302875fba02bdd4fd24a9a0520cdcd7fb1f (patch) | |
tree | b9e1fc24071db3787f92757cb6b2265768a45514 /commit.d/40git-rm | |
parent | 8ba5089e8ee73d62bd92db1f327e7d32c7b0c1f1 (diff) |
commit.d: use git add -A
Till now we were doing this by hand, using git add . and git
ls-files|git rm, but git add -A does the same and it's faster.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Diffstat (limited to 'commit.d/40git-rm')
-rwxr-xr-x | commit.d/40git-rm | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/commit.d/40git-rm b/commit.d/40git-rm deleted file mode 100755 index d2c51c2..0000000 --- a/commit.d/40git-rm +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -set -e - -IFS=' -' - -if [ "$VCS" = git ] && [ -d .git ]; then - for file in $(git ls-files --deleted); do - if [ ! -d "$file" ]; then - git rm --quiet "$file" - fi - done -fi |