summaryrefslogtreecommitdiff
path: root/unclean.d
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-07-05 04:30:30 +0200
committerJoey Hess <joey@kodama.kitenet.net>2008-07-05 08:32:47 -0400
commit5b5070cd24bea4cb24ca75d56763ec80e0a9c46d (patch)
tree94dd412f0bc2bcfda8e58e8093eb7e53d528e55e /unclean.d
parentaf657da3e4ee98342adc3bf0063b8f391292898f (diff)
Use git ls-files instead of git-ls-files.
git-ls-files won't be in PATH in the next Git version. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Diffstat (limited to 'unclean.d')
-rwxr-xr-xunclean.d/50test2
1 files changed, 1 insertions, 1 deletions
diff --git a/unclean.d/50test b/unclean.d/50test
index 6829bec..f260f36 100755
--- a/unclean.d/50test
+++ b/unclean.d/50test
@@ -2,7 +2,7 @@
set -e
if [ "$VCS" = git ]; then
- [ -d .git ] && [ -n "`git-ls-files --modified --deleted --others --exclude-standard`" ]
+ [ -d .git ] && [ -n "`git ls-files --modified --deleted --others --exclude-standard`" ]
elif [ "$VCS" = hg ]; then
[ -d .hg ] && ! hg status 2>&1 | wc -l | grep -q "^0$"
elif [ "$VCS" = bzr ]; then