X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/751c890baeb20118bcdea0b735c85995b7f588fa..6dd8fafabb5b8e266a85f13c8851ca8a66a1a405:/stgit/commands/patches.py diff --git a/stgit/commands/patches.py b/stgit/commands/patches.py index fb65b62..0b618fe 100644 --- a/stgit/commands/patches.py +++ b/stgit/commands/patches.py @@ -33,6 +33,7 @@ it shows the patches affected by the local tree modifications. The '--diff' option also lists the patch log and the diff for the given files.""" +directory = DirectoryHasRepository() options = [make_option('-d', '--diff', help = 'show the diff for the given files', action = 'store_true'),