On Thu, 10 May 2007 21:21:06 +0200, Petr Baudis wrote: > I think you are underestimating stg here. Yes, maybe I didn't learn to use it well enough. > You can stg init just once per branch (ever), I think. I don't have details now, but I know I ran into some difficulty when leaving the extra stg state around. It seems that it added stuff that resulted in some reference of mine becoming ambiguous, ("refspec <foo> matches more than one" perhaps?). What I do remember is that I couldn't get one of my standard git push commands to work until I deleted all of .git/refs/bases and .git/refs/patches and then things started to work again. > stg uncommit -n N > stg pop -n N-1 > ..hack.. > stg refresh > stg push -a > > It seems to be a bit shorter than the sequence you've presented above, > and overally working with volatile commits using StGIT feels much more > natural to me - and I haven't even ever used quilt seriously! (I have > special antipathy to the git reset UI, too.) The -n option is something I hadn't noticed, and that helps, (except that what I've got to start with is a git revision name, not a number). But there are still some places where an experienced git user runs into some awkward situations trying to use stg. For example, "stg refresh" is basically always doing the equivalent of "commit -a" so there's annoyingly no way to refresh only some of the modified state into the commit. Also, if I want to edit a commit message while under the influence of stg, how do I do that? If I do "git commit --amend" will I seriously confuse stg, (I'm guessing I would, but I don't know). It's that kind of uncertainty that makes me uncomfortable to mix git and stg. And personally, I couldn't get excited about using it alone, (for example, in addition to the commit message with headline, stg makes me invent yet _another_ name for every commit---yuck). Not to mention I'm already quite comfortable with git alone, and all the flexibility it provides. Plus, all the stuff that stg provides to allow it to be used standalone ends up just being noise to the git user that just wants to do some stack-based manipulation of an unpublished branch, for example. So, I'd really like to see something more integrated into git itself that provides some of the missing functionality. -Carl
Attachment:
pgpTU2UWg6RAw.pgp
Description: PGP signature