diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 18:13:00 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 18:13:00 -0500 |
commit | b42d7c03371d9f1dab89a8d7a3e5bb85e8774e14 (patch) | |
tree | a9217c27267937b82069047b263d1fb34e3adc10 /pre-commit.d/10warn-empty-directory | |
parent | e737d1795d0acbaba09412b3b969b33fc8956b85 (diff) |
finishing touches etc
Diffstat (limited to 'pre-commit.d/10warn-empty-directory')
-rwxr-xr-x | pre-commit.d/10warn-empty-directory | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pre-commit.d/10warn-empty-directory b/pre-commit.d/10warn-empty-directory index 3f6cdaa..ef70b72 100755 --- a/pre-commit.d/10warn-empty-directory +++ b/pre-commit.d/10warn-empty-directory @@ -1,6 +1,6 @@ #!/bin/sh set -e -empty=$(find -type f -empty | grep -v /.git/) || true +empty=$(find -type d -empty | grep -v /.git/) || true if [ -n "$empty" ]; then echo "etckeeper warning: empty directories, not tracked by git:" >&2 echo "$empty" >&2 |