Re: Transactions for git (and stgit) ?
- From
Yann Dirson <ydirson@altern.org>
- Date
- May 12, 2007, 18:34 UTC
- Message-ID
- <20070512183443.GM19253@nan92-1-81-57-214-146.fbx.proxad.net>
- In-Reply-To
- <20070512104919.GA22735@diana.vm.bytemark.co.uk>
On Sat, May 12, 2007 at 12:49:19PM +0200, Karl Hasselström wrote:
Show 9 quoted lines
> On 2007-05-12 11:53:12 +0200, Yann Dirson wrote: > > > It could even be more sensible to implement transactions at the git > > level rather than at the stgit one... > > Yes, please. (Unless a convincing technical argument pops up against > it, of course.) Any stgit invariant that isn't based on a git > invariant is one more thing that can break when git and stgit commands > are mixed.
For reference, I have written down some design ideas in january[1]. They were written with StGIT in mind, we'll have to see if it transposes easily to plain git.
I fear it will not be that easy, at least with this design :)
OTOH, implementing transactions in StGIT could provide a first experience on this particular field, that may later be transposed to git core - not unlike cogito did for other features. There is the risk, however, of seeing a different (hopefully better) design for the feature in git afterwards, and this in turn is likely to make life harder for StGIT...
[1] http://marc.info/?t=116803935800001&r=1&w=2
Best regards,
-- Yann.