vc-list-files: Adjust the script to support git worktrees Git's worktree feature creates a ".git" which refers to references from the original (main) repository. This makes vc-list-files to fail for worktrees since it checks for both file's existence and the file being a directory. Checking for existence should be okay in this case, since the script doesn't touch anything within ".git" directly. Instead, it invokes git commands, which work from within a worktree nicely. Signed-off-by: Erik Skultety <eskultet@redhat.com> Message-Id: <0ad867fe1a1e0999e6666ef75398630f28e78e35.1501156018.git.eskultet@redhat.com>