summaryrefslogtreecommitdiff
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
parent095c1c83eb24565aa854260284ce9c187164e0b6 (diff)
downloadcoreutils-8a2e111207cc9af56e6aafae83d6cba1821e002b.tar.xz
* vc-list-files: Don't filter git-ls-files output through cut.
-rw-r--r--build-aux/ChangeLog4
-rwxr-xr-xbuild-aux/vc-list-files4
2 files changed, 6 insertions, 2 deletions
diff --git a/build-aux/ChangeLog b/build-aux/ChangeLog
index 8d18ca9c0..4bef6ae42 100644
--- a/build-aux/ChangeLog
+++ b/build-aux/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-14 Jim Meyering <jim@meyering.net>
+
+ * vc-list-files: Don't filter git-ls-files output through cut.
+
2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
* .cvsignore: New file.
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