Add the 'id' command
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 18 Aug 2005 13:35:19 +0000 (14:35 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 18 Aug 2005 13:35:19 +0000 (14:35 +0100)
commite1261152d817111550e26c026d2793d8621b51ad
tree2c8c758dc2a16507696344118abff34445593fc3
parent516a282ae0303265e53e97ba002ff9ea0f756ac4
Add the 'id' command

This command prints the hash value of a GIT id (defaulting to HEAD). In
addition to the standard GIT id's like heads and tags, this command also
accepts 'base' and '[<patch>]/(bottom | top)'.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/common.py
stgit/commands/id.py [new file with mode: 0644]
stgit/main.py