On 2008-08-03 10:45:06 -0400, Jon Smirl wrote:
It is very helpful to block git commands that will mess up the state
of topgit. For example 'git rebase' is a good way to mess up stgit.
Instead you need to do 'stg rebase'. It is quite easy to type the
wrong command when switching between trees and some are under stgit
and others aren't.
Indeed. This is mitigated somewhat by the new "stg undo" command, but
it's still perhaps StGit's largest UI wart.
I believe there is a stgit rewrite due any day now that completely
changes how it deals with the index.
The master branch contains an infrastructure rewrite that makes it
easy to make the various commands handle the index nicely. A lot of
commands have been fixed to take advantage of it, but a bunch still
remain.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle