summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xbuild-aux/vc-list-files2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ec8a3016d0..36dd0424ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-27 Erik Skultety <eskultet@redhat.com> (tiny change)
+
+ vc-list-files: Adjust the script to support git worktrees
+ * build-aux/vc-list-files: Require existence, not directory.
+
2017-07-26 Paul Eggert <eggert@cs.ucla.edu>
doc: bring MODULES.html.sh up to date
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 2d17eaf69d..ad683cc3fc 100755
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -65,7 +65,7 @@ test $# = 0 && set .
for dir
do
- if test -d .git; then
+ if test -e .git; then
test "x$dir" = x. \
&& dir= sed_esc= \
|| { dir="$dir/"; sed_esc=`echo "$dir"|env sed 's,\([\\/]\),\\\\\1,g'`; }