diff options
-rw-r--r-- | source_control/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source_control/git.py b/source_control/git.py index 4b36c358..ea310254 100644 --- a/source_control/git.py +++ b/source_control/git.py @@ -357,7 +357,7 @@ def has_local_mods(module, git_path, dest, bare): if bare: return False - cmd = "%s status -s" % (git_path) + cmd = "%s status --porcelain" % (git_path) rc, stdout, stderr = module.run_command(cmd, cwd=dest) lines = stdout.splitlines() lines = filter(lambda c: not re.search('^\\?\\?.*$', c), lines) |