Skip to content

Commit

Permalink
ignore untracked files in worktree, fixes pypa#109
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Oct 13, 2016
1 parent f9747f4 commit 812b80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools_scm/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def from_potential_worktree(cls, wd):
return cls(real_wd)

def is_dirty(self):
out, _, _ = self.do_ex("git status --porcelain")
out, _, _ = self.do_ex("git status --porcelain --untracked-files=no")
return bool(out)

def node(self):
Expand Down

0 comments on commit 812b80a

Please sign in to comment.