git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rollback of git commands
@ 2007-11-27 23:23 Jon Smirl
  2007-11-28  0:51 ` Junio C Hamano
  0 siblings, 1 reply; 31+ messages in thread
From: Jon Smirl @ 2007-11-27 23:23 UTC (permalink / raw)
  To: Git Mailing List

Could a rollback log be implemented in git? It would make things way
easier when you screw something up.You'd only roll back things that
impacted the object store, not things like checkout.

stg is also starting to store significant state in the .git directory.
It may be better to move this state into a git object. That would
allow the state history to be tracked and rollback be implemented.

The same logic can be applied to moving all tracking information in
the .git directory into objects. You then just need to track a single
SHA1 pointing to the .git config info in the object db.

Rollback in the object store is simple, just move the SHA1 in the
config files back to where it was before the action was done. What we
are missing is a way to rollback the config files.

-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2007-11-29  9:20 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-27 23:23 Rollback of git commands Jon Smirl
2007-11-28  0:51 ` Junio C Hamano
2007-11-28  1:33   ` Jon Smirl
2007-11-28  1:49     ` Jon Smirl
2007-11-28  1:57       ` David Symonds
2007-11-28 16:50         ` Ingo Molnar
2007-11-28 18:39           ` Sergei Organov
2007-11-28 18:52             ` Nicolas Pitre
2007-11-28  4:07       ` Geert Bosch
2007-11-28 16:20         ` Jeff King
2007-11-28 16:23           ` Jon Smirl
2007-11-28 16:28             ` Jeff King
2007-11-28  3:55     ` Sean
2007-11-28  4:37       ` Jon Smirl
2007-11-28  4:40         ` Sean
2007-11-28  4:53           ` Jon Smirl
2007-11-28 14:53         ` Nicolas Pitre
2007-11-28 15:58           ` Jon Smirl
2007-11-28 16:26             ` Nicolas Pitre
2007-11-28 16:37               ` Jon Smirl
2007-11-28 16:46                 ` Nicolas Pitre
2007-11-28 17:03                   ` Jon Smirl
2007-11-29  8:42               ` Karl Hasselström
2007-11-28  4:57       ` Junio C Hamano
2007-11-28  9:22     ` Karl Hasselström
2007-11-28 15:13       ` Jon Smirl
2007-11-28 21:47         ` Daniel Barkalow
2007-11-28 21:58           ` Steven Grimm
2007-11-28 22:48             ` Daniel Barkalow
2007-11-28 23:42           ` Jon Smirl
2007-11-29  8:28             ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).