From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx> From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx> Requires GIT 1.1.0 at least (don't know if this was backported in 1.0). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx> --- stgit/git.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stgit/git.py b/stgit/git.py index 40d54ef..e8c816d 100644 --- a/stgit/git.py +++ b/stgit/git.py @@ -194,8 +194,8 @@ def __tree_status(files = None, tree_id if noexclude: extra_exclude = base_exclude = [] - lines = _output_lines(['git-ls-files', '--others'] + base_exclude - + extra_exclude) + lines = _output_lines(['git-ls-files', '--others', '--directory'] + + base_exclude + extra_exclude) cache_files += [('?', line.strip()) for line in lines] # conflicted files - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html