chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic bash completion
[stgit]
/
stgit
/
commands
/
id.py
diff --git
a/stgit/commands/id.py
b/stgit/commands/id.py
index 857ec33051c22dbe2be79e9cb5fce7c2f7586c85..566edcc4350605a14fc7ef16ec57807b55f6f498 100644
(file)
--- a/
stgit/commands/id.py
+++ b/
stgit/commands/id.py
@@
-18,6
+18,7
@@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from stgit.out import out
from stgit.commands import common
from stgit.lib import stack
from stgit.out import out
from stgit.commands import common
from stgit.lib import stack
+from stgit import argparse
help = 'Print the git hash value of a StGit reference'
kind = 'repo'
help = 'Print the git hash value of a StGit reference'
kind = 'repo'
@@
-30,6
+31,8
@@
or the base of the stack. If no branch is specified, it defaults to the
current one. The bottom of a patch is accessible with the
'[<branch>:]<patch>^' format."""
current one. The bottom of a patch is accessible with the
'[<branch>:]<patch>^' format."""
+args = [argparse.applied_patches, argparse.unapplied_patches,
+ argparse.hidden_patches]
options = []
directory = common.DirectoryHasRepositoryLib()
options = []
directory = common.DirectoryHasRepositoryLib()