diff --git a/src/python/pants/scm/git.py b/src/python/pants/scm/git.py index 793bbac42b8..9672aa0fd44 100644 --- a/src/python/pants/scm/git.py +++ b/src/python/pants/scm/git.py @@ -175,7 +175,7 @@ def changed_files(self, from_commit=None, include_untracked=False, relative_to=N raise_type=Scm.LocalException) files.update(committed_changes.split()) if include_untracked: - untracked_cmd = ['ls-files', '--other', '--exclude-standard'] + rel_suffix + untracked_cmd = ['ls-files', '--other', '--exclude-standard', '--full-name'] + rel_suffix untracked = self._check_output(untracked_cmd, raise_type=Scm.LocalException) files.update(untracked.split())