All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Skwar <listen@alexander.skwar.name>
To: git@vger.kernel.org
Subject: Managing /etc with git: Store ownership and time in git?
Date: Thu, 1 Nov 2007 12:55:57 +0000 (UTC)	[thread overview]
Message-ID: <loom.20071101T123817-247@post.gmane.org> (raw)

Hello.

I'd like to use git to manage the /etc directories of some servers.
What's quite nice with git (in comparison to svn) is, that it
out-of-the-box stores the permissions of a file. But it doesn't seem
like it stores the ownership (ie. user/group) of tracked content.
Does anyone know how to cope with that "problem"?

Oh, and it also seems that Git doesn't store the time information of
files, does it? For tracking /etc, this would be very useful. Would
anyone have a solution for this as well?

What I'm thinking about right now is, to write a "hook" script which
"dumps" the stats of the to-be added files in some "index" file. But
that seems like a rather clumsy soltion...

It would be great of someone could maybe share his solution!

Thanks a lot,
Alexander

             reply	other threads:[~2007-11-01 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-01 12:55 Alexander Skwar [this message]
2007-11-01 13:09 ` Managing /etc with git: Store ownership and time in git? Miklos Vajna
2007-11-01 15:42   ` Jakub Narebski
2007-11-01 13:10 ` Jeff King

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=loom.20071101T123817-247@post.gmane.org \
    --to=listen@alexander.skwar.name \
    --cc=git@vger.kernel.org \
    /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.