<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 06/06/12 16:03, Eli Billauer wrote:
<blockquote cite="mid:4FCF5508.3060508@billauer.co.il" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
There seems to be a misunderstanding about git: If the repository
is on
/, it doesn't mean all files are tracked. On the contrary, they
are
handpicked with "git add". On the other hand, if I put the
repository
under /etc, I'm not so sure I'll be able to track something under,
say,
/var.<br>
</blockquote>
1. The files may not be tracked, but they will show up on git
status, and generally<br>
get in the way of being useful.<br>
2. Correct, you will not be able to track files in /var. On the
other hand, those files are rarely config files, and even more
rarely<br>
are bound to things in /etc/<br>
<br>
<blockquote cite="mid:4FCF5508.3060508@billauer.co.il" type="cite">
<br>
File ownership is an interesting issue. I suppose all relevant
files
belong to root, but maybe some of them have some different group
setting.<br>
</blockquote>
some of the mail-related config files for certain MTAs come to mind
right away.<br>
Some database systems also often are in similar situation.<br>
<br>
On the other hand, number of files affected by this isn't too large,
and adding some hooks to your repo<br>
to maintain this information should not be hard.<br>
<br>
<blockquote cite="mid:4FCF5508.3060508@billauer.co.il" type="cite">
On 06/06/2012 01:34 PM, ilya wrote:
<blockquote cite="mid:4FCF321E.2030200@total-knowledge.com"
type="cite">
<pre wrap="">It is generally possible, though I'd recommend making your git repo out of
/etc, not /, since this is what you mostly want to track, and managing
.gitignore of
the whole FS will be too painful.
One thing git does not track though, is file ownership. This might be a
problem for
some files.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Web: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.billauer.co.il">http://www.billauer.co.il</a>
</pre>
</blockquote>
<br>
</body>
</html>