All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann Dirson <dirson@bertin.fr>
To: git list <git@vger.kernel.org>
Subject: Re: [1.8.0] Tracking empty directories
Date: Thu, 03 Feb 2011 12:07:53 +0100	[thread overview]
Message-ID: <20110203120753.6636d0cd@chalon.bertin.fr> (raw)

Jonathan wrote:
>What might make git nice as an interoperability tool is that it tracks
>the _relevant_ information for the history of a software project.
>Example of what is not relevant information and why that matters:
>
> http://thread.gmane.org/gmane.comp.version-control.git/53494

Hell, that message seems to even suggest a potential solution:
use .gitattributes for tracking empty dirs.  That way a post-change
"git checkout-index" could find the info (from .gitattribute in the index)
without confusing any pre-change tool.

For ease of use, some porcelain could possibly be taught to add empty
directories into $GIT_DIR/.gitattribute (as well as checking whether an
empty-dir entry has turned useless because it now has content, and any
other administrative stuff we could want).


But that idea is linked to another issue, which could be the subject
of a 1.8 proposal of its own: the handling of .gitattribute, for which
only the checked-out version is taken into account:

http://marc.info/?l=git&m=126458888515166

-- 
Yann Dirson - Bertin Technologies

             reply	other threads:[~2011-02-03 11:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 11:07 Yann Dirson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-01-31  5:53 What's cooking in git.git (Jan 2011, #06; Sun, 30) Junio C Hamano
2011-01-31 17:05 ` Planning for 1.7.5 and 1.8.0 Junio C Hamano
2011-02-02 11:56   ` [1.8.0] Tracking empty directories Jakub Narebski
2011-02-02 23:23     ` Jay Soffian
2011-02-02 23:33       ` David Aguilar
2011-02-02 23:52         ` Jakub Narebski
2011-02-03  2:21         ` Wesley J. Landaker
2011-02-03  5:53           ` Jonathan Nieder
2011-02-03 10:07           ` Matthieu Moy
2011-02-05  7:43         ` Pete Harlan
2011-02-05 18:31     ` Thomas Koch
2011-02-05 19:00       ` Sverre Rabbelier
2011-02-05 22:37         ` Jared Hance
2011-02-06 20:41         ` Junio C Hamano
2011-02-06 20:46           ` Sverre Rabbelier
2011-02-06  4:42       ` Nguyen Thai Ngoc Duy

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=20110203120753.6636d0cd@chalon.bertin.fr \
    --to=dirson@bertin.fr \
    --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.