{"thread":{"id":"1612","subject":"Versioning for template directory?","startedAt":"2005-08-22T15:59:43Z","lastAt":"2005-08-22T15:59:43Z","messageCount":1,"participants":["Josef Weidendorfer"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"7622","messageId":"200508221759.43153.Josef.Weidendorfer@gmx.de","threadId":"1612","inReplyTo":null,"subject":"Versioning for template directory?","fromName":"Josef Weidendorfer","fromEmail":"josef.weidendorfer@gmx.de","sentAt":"2005-08-22T15:59:43Z","receivedAt":"2005-08-22T15:59:43Z","isPatch":false,"sender":{"key":"josef.weidendorfer@gmx.de","avatar":null},"body":"Hi,\n\nas more and more hooks are added to git, I would want to have the hook \nscripts, part of the per-repository configuration, itself in version control. \nIf you look at CVS, the configuration there is also under version control (in \nCVSROOT). I can do this manually: after git-init-db, go into .git/hooks, do a \ngit-init-db again, adding the hooks for version control, and commiting the \ninitial version of the hooks.\n\nBut I get the feeling that the different hooks should be versioned \non a file basis, and not on a directory/whole project basis.\nHere, I explicitly want to have the RCS/CVS way of versioning.\n[Another use case: a wiki site managed via a GIT archive, to be able to change \nthe site offline. Here too, I would want to have versioning on a file basis]\n\nIs there a way to \"extend\" git to allow for this kind of versioning? This \nneeds multiple simultaneous checkouts of heads representing independent \nproject parts (i.e. single files). There would be a GIT index for every such \nindependent project part; the problem being that the checkouts should be done \ninto the same directory.\n\nSo what is the best way to accomplish this?\nI have to use multiple index files (index1, index2, ...), allowing multiple \nindependent branches could be checked out independently. Another extension \nwould be kind of a \"super-head\" specifying multiple heads (SHAs) \nwhich are to be checked out simultaneously (via index1, index2...). It should \nbe possible to create signed tags out of such super-heads.\n\nIs this feasable?\n\nJosef\n"}]}