Re: Using GIT to store /etc (Or: How to make GIT store all file permission bits)
- From
- David Lang <david.lang@digitalinsight.com>
- Date
- Jan 10, 2007, 01:39 UTC
- Message-ID
- <Pine.LNX.4.63.0701091735490.7747@qynat.qvtvafvgr.pbz>
- In-Reply-To
- <8aa486160612100706y92bc722n93374e394fc58005@mail.gmail.com>
I want to have a tripwire-like system checking the files to make sure that they haven't changed unexpectedly. the program I'm looking at notices inode as well as timestamp and content changed.
when you checkout a file from git will it re-write/overwrite a file that hasn't changed or will it realize there is no change and leave it as-is?
does this answer change if there is a trigger on checkout (to change permissions or otherwise manipulate the file)?
David Lang