git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A tracking tree for the active work space
@ 2007-03-11 14:06 Jon Smirl
  2007-03-11 20:15 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Jon Smirl @ 2007-03-11 14:06 UTC (permalink / raw)
  To: Shawn O. Pearce, Git Mailing List

Reading the other thread on tracking temporary changes made me think
of using inotify with git. The basic idea would be to a daemon running
that uses inotify to listen for changes in the working tree. As these
changes happen they get committed to a tracking tree.

The tracking tree serves two purposes. First it is a good way to
recover from programmer error. I have definitely written big chunks of
code, discarded them, and then realized later that they were the right
solution and had to write them again.

The tracking tree also makes a 'git grep' for uncommitted changes
easier to implement since the changes are always committed with this
model. For dual processors the inverted index can be computed in
parallel with editing.

Of course this daemon needs some smarts. You don't want it generating
a delta the hard way from a git check out of a different workspace It
will also make real check-ins instant since you  just copy the tip of
the tacking tree.


-- 
Jon Smirl
jonsmirl@gmail.com

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

end of thread, other threads:[~2007-03-12  1:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-11 14:06 A tracking tree for the active work space Jon Smirl
2007-03-11 20:15 ` Junio C Hamano
2007-03-11 20:35   ` Jon Smirl
2007-03-11 21:31     ` Johannes Schindelin
2007-03-11 21:40       ` Jeff King
2007-03-12  1:39       ` Jon Smirl
2007-03-11 23:18     ` Johannes Schindelin

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).