summaryrefslogtreecommitdiff
path: root/build-aux/vc-list-files
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-10-14 09:31:27 +0000
committerJim Meyering <jim@meyering.net>2006-10-14 09:31:27 +0000
commit8a2e111207cc9af56e6aafae83d6cba1821e002b (patch)
tree7c13e1e5068170de587bf93e587776f7728cf7ae /build-aux/vc-list-files
parent095c1c83eb24565aa854260284ce9c187164e0b6 (diff)
downloadcoreutils-8a2e111207cc9af56e6aafae83d6cba1821e002b.tar.xz
* vc-list-files: Don't filter git-ls-files output through cut.
Diffstat (limited to 'build-aux/vc-list-files')
-rwxr-xr-xbuild-aux/vc-list-files4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 2fcc94734..b873fbce5 100755
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -36,9 +36,9 @@ esac
if test -d .git; then
if test "x$include_prefix" = x; then
- git-ls-files | cut -d ' ' -f 3
+ git-ls-files
else
- git-ls-files | cut -d ' ' -f 3 | grep "^$include_prefix/"
+ git-ls-files | grep "^$include_prefix/"
fi
elif test -d .hg; then
if test "x$include_prefix" = x; then