git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Gerhard Wiesinger <lists@wiesinger.com>
Cc: git@vger.kernel.org
Subject: Re: Metadata and checkin file date
Date: Tue, 27 Apr 2010 02:35:00 -0700 (PDT)	[thread overview]
Message-ID: <m3sk6hck8b.fsf@localhost.localdomain> (raw)
In-Reply-To: <alpine.LFD.2.00.1004270719320.17234@bbs.intern>

Gerhard Wiesinger <lists@wiesinger.com> writes:

> Hello,
> 
> I'm new to git and I'm looking for the following features:
> 1.) Metadata for
>    a.) directory versioning (e.g. add/rm, mv)
>    b.) rights (basic: chmod, chow, chgrp, extended: extended
> attributes like ACLs and selinux), necessary for versioning e.g. /etc
> 2.) Original file dates (checkin date) on clone and pull (and not
> checkout date)
> 
> Is this possible? Any plans if missing?

Git is distributed version control system (DVCS), not a backup system.
It is used mainly for distributed development of programs.  Therefore
it supports natively only those parts of metadata that make sense for
VCS, namely symlinks (with workaround for filesystems that do not have
support for symbolic links) and the executable permission for files.

File ownership does not make sense for VCS, as other people that clone
your repository do not have the same set of users that you have, and
might not have the same set of groups that you have.  Neverthemind that
their filesystem might not support notion of file ownership, not only
do not have support for extended attributes and the like.

If you really, really need this, you can use additional tools to
preserve metadata, like Metastore or git-cache-meta, or even ready
tools that use Git as bckend like IsiSetup or bup (well, bup use
git package format, not git itself...), see this Git Wiki page:
https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools

HTH (Hope That Helps)
-- 
Jakub Narebski
Poland

  parent reply	other threads:[~2010-04-27  9:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27  5:23 Metadata and checkin file date Gerhard Wiesinger
2010-04-27  9:22 ` Andreas Ericsson
2010-04-27 19:38   ` Gerhard Wiesinger
2010-04-27 19:47     ` Andreas Ericsson
2010-04-27 20:00       ` Gerhard Wiesinger
2010-04-27 21:25         ` Jakub Narebski
2010-04-27 21:18       ` Jakub Narebski
2010-04-27  9:35 ` Jakub Narebski [this message]
2010-04-27 19:41   ` Gerhard Wiesinger
2010-04-27 20:55     ` Jakub Narebski

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=m3sk6hck8b.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=lists@wiesinger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).