From: "Edward Z. Yang" <edwardzyang@thewritingpot.com>
To: git@vger.kernel.org
Cc: pj.bringer@gmail.com
Subject: Re: keeping /etc under git with etckeeper
Date: Sat, 09 Aug 2008 23:15:32 -0400 [thread overview]
Message-ID: <489E5D54.7040708@thewritingpot.com> (raw)
In-Reply-To: <14b409fc0808091148k69f4019n6996261a710adfca@mail.gmail.com>
Pierre-Julien Bringer wrote:
> Do you think storing the etc directory in git with etckeeper is a good
> thing? I've heard it was not recommended to do so for the home
> directory, but also for /etc:
I've been using etckeeper for a while now, and it's working reasonably
well. The one thing I personally don't like, however, is the fact that
etckeeper automatically commits a dirty /etc state before the
auto-commits for any installed packages. I.e. auto-commit on apt-get
GOOD, auto-commit on other changes BAD. Fortunately, it's relatively
easy to change the commit hooks to do your bidding. :-)
With carefully issued Git commands, you can have Git refuse to touch any
files when there is a merge conflict, so you can resolve it in another
checkout. Of course, Git makes it extremely easy to back out a failed
merge, so as long as there isn't an essential process polling /etc every
few seconds, you should be savvy if you revert before a reboot.
prev parent reply other threads:[~2008-08-10 3:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-09 18:48 keeping /etc under git with etckeeper Pierre-Julien Bringer
2008-08-09 19:16 ` martin f krafft
2008-08-09 23:42 ` Miklos Vajna
2008-08-10 3:15 ` Edward Z. Yang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=489E5D54.7040708@thewritingpot.com \
--to=edwardzyang@thewritingpot.com \
--cc=git@vger.kernel.org \
--cc=pj.bringer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.