X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/22037590baa995704b6cc08d844e024c85c7c578..a2597fc74859f62872cef838377568811f2b6362:/stgit/git.py diff --git a/stgit/git.py b/stgit/git.py index 4c5685a..7d99338 100644 --- a/stgit/git.py +++ b/stgit/git.py @@ -688,6 +688,8 @@ def status(files = None, modified = False, new = False, deleted = False, cache_files = [x for x in cache_files if x[0] in filestat] for fs in cache_files: + if files and not fs[1] in files: + continue if all: print '%s %s' % (fs[0], fs[1]) else: