Allow tag objects to be passed on the command line
authorCatalin Marinas <catalin.marinas@gmail.com>
Fri, 17 Feb 2006 21:31:43 +0000 (21:31 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 17 Feb 2006 21:32:53 +0000 (21:32 +0000)
commit2fef9462b26126402f26140a02d3e16cdd2d9928
tree5ad27356c4d1843b84dcd72e8a48c80517971714
parent844a164019385f19d8607754b3ae130eee1dfd89
Allow tag objects to be passed on the command line

stgit.common.git_id() was modified to add '^0' to the revision so that a
tag can be used for different operations and the corresponding commit will
be returned. Commands like 'branch --create' were failing if a tag was
passed.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/branch.py
stgit/commands/common.py
stgit/git.py