Optimise the git.switch() function
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 23 Aug 2005 12:41:41 +0000 (13:41 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 23 Aug 2005 12:41:41 +0000 (13:41 +0100)
commita5b29a1c486dc8f6b3080356296dfed25c210a74
treeef636d46fc193520f1a360b2152445e60570a631
parenta322940ba66cfb047676ad41a9ca1636d08c6d41
Optimise the git.switch() function

By default it checks the tree status and checks out the given tree id.
This can be done with 'git-read-tree -m old new'.

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