Re: /etc in git?
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Jan 19, 2006, 04:59 UTC
- Message-ID
- <43CF1CBA.8030206@zytor.com>
- In-Reply-To
- <b476569a0601182040w581b72b7xbb99845da4085646@mail.gmail.com>
Adam Hunt wrote:
> Do you have any more details by chance? Does it work? Does it work > well? How does one do it?
I've put my home directory dot files into git, and I'm assuming it's going to be a similar issue for /etc. I've found git to be unusually suitable for this, for the following reasons:
- git can deal with only managing a handful of files from a large hierarchy, without an insane performance penalty. - git only needs one repository directory at the root of the tree, not in each subdirectory.
The biggest *problem* with git is that it doesn't handle files which need to have their permissions maintained.
-hpa