Re: Transactions for git (and stgit) ?
From: Yann Dirson <hidden>
Date: 2016-06-15 22:43:09
On Sat, May 12, 2007 at 12:49:19PM +0200, Karl Hasselström wrote:
On 2007-05-12 11:53:12 +0200, Yann Dirson wrote:quoted
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.