X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/751c890baeb20118bcdea0b735c85995b7f588fa..6dd8fafabb5b8e266a85f13c8851ca8a66a1a405:/stgit/commands/uncommit.py diff --git a/stgit/commands/uncommit.py b/stgit/commands/uncommit.py index c22d3ea..a23ae20 100644 --- a/stgit/commands/uncommit.py +++ b/stgit/commands/uncommit.py @@ -48,6 +48,7 @@ given commit should be uncommitted. Only commits with exactly one parent can be uncommitted; in other words, you can't uncommit a merge.""" +directory = DirectoryHasRepository() options = [make_option('-n', '--number', type = 'int', help = 'uncommit the specified number of commits'), make_option('-t', '--to',