2008/7/1 Keith Hodges keith_hodges@yahoo.co.uk:
Colin Putney wrote:
On 30-Jun-08, at 11:10 AM, Igor Stasenko wrote:
This is quite interesting. Really, if we could just avoid using file-based working directory and make image to be a kind of 'working directory' this would simplify things a lot - no need to make file outs and synchronization is always made between current methods in image and git repository. Interesting, how much coding needed to connect image with git repository in that way.
One option would be to use FUSE (or something similar) to make the image appear to be a filesystem. That wouldn't be git-specific, and would even appease all the folks that want to edit their code with emacs.
Colin
It has been done
Haha, really, run a file system adaptor in image. And then run git, or any other file based version control tool on it. The complication is , that most of such tools using subdirectories to maintain own specific info (like CVS in CVS, and .svn with SVN). So, you will need to make it able to store these files somewhere in image , not only methods which are subject of version control.
Keith