On 2007-11-28 18:06:36 +0100, Andreas Ericsson wrote: > True, but there are ways of figuring out which branch you're on, > using the arguments passed to the hook. > > The rebase hook (which is where this discussion started) gets the > branches passed to "git rebase" as arguments. Figuring out if either > of those branches are actually under stgit control shouldn't be > overly tricky for one so familiar with stgit as yourself. No, that part is trivial. The hard part is not messing up the user's existing hook scripts. If I do go ahead and do this, I have a feeling I'll be beefing up git's hook dispatch mechanism first -- if I can get it past Junio, obviously. :-) -- Karl Hasselström, kha@xxxxxxxxxxx www.treskal.com/kalle - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html