chiark / gitweb /
Make switching to the current branch a no-op
authorChuck Lever <cel@netapp.com>
Wed, 26 Oct 2005 18:51:45 +0000 (14:51 -0400)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 27 Oct 2005 19:47:12 +0000 (20:47 +0100)
commit9756a20261dd76630b570b274afc18c3bf4c6589
tree4e09dc447f8200a733e718f55f3035ec45358569
parent547eb28f9892547a2ac7a29221582074e7ba0103
Make switching to the current branch a no-op

Check if "stg branch name" is switching to the branch we are already in,
and make that case a no-op.

Signed-off-by: Chuck Lever <cel@netapp.com>
stgit/commands/branch.py