git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacob Helwig <jacob.helwig@gmail.com>
To: Gerhard Wiesinger <lists@wiesinger.com>
Cc: Thomas Rast <trast@student.ethz.ch>, git@vger.kernel.org
Subject: Re: Global .git directory
Date: Tue, 27 Apr 2010 13:37:29 -0700	[thread overview]
Message-ID: <l2w8c9a061004271337v62c71145jec782712618e4655@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1004272144470.11216@bbs.intern>

On Tue, Apr 27, 2010 at 13:06, Gerhard Wiesinger <lists@wiesinger.com> wrote:
> I don't like metadata of the repository in MY file structure (e.g. .git in
> top directory, .svn in every directory in subversion, .hg in top directory)
> for several reasons:
> 1.) Searching might arise false results, longer output and takes longer
> (e.g. grep -ir string .)

Using ack, instead of grep is very handy here.  It'll automatically
skip common revision control directories, and (by default) only
searches known text file formats.  There is also "git grep".

> 2.) Making tarballs, diffs, etc.: One has to make ugly --exclude or some
> other workarounds when directories are traversed.

Making tarballs: Is there a reason not to just use git-archive?  You
don't need to make any ugly --exclude rules there, unless you're
trying to exclude things that you track in revision control.

Diffs: Is "git diff" not sufficient here?  If it's not, why isn't it?

> 3.) From an archtectural point of view: It is not technically necessary to
> mix up user data with repository data.
>

      parent reply	other threads:[~2010-04-27 20:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27  5:14 Global .git directory Gerhard Wiesinger
2010-04-27  9:59 ` Thomas Rast
2010-04-27 20:06   ` Gerhard Wiesinger
2010-04-27 20:26     ` Erik Faye-Lund
2010-04-28  5:33       ` Gerhard Wiesinger
2010-04-28  6:22         ` Tomas Carnecky
2010-04-28 20:03           ` Gerhard Wiesinger
2010-04-28  8:01         ` Alex Riesen
2010-04-28 20:10           ` Gerhard Wiesinger
2010-04-28 12:50         ` Erik Faye-Lund
2010-04-28 20:22           ` Gerhard Wiesinger
2010-05-04  5:07             ` Gerhard Wiesinger
2010-05-04  5:40               ` Andrew Ruder
2010-05-04  6:02                 ` Andreas Ericsson
2010-05-04  6:07                 ` Gerhard Wiesinger
2010-05-04 16:55                 ` Junio C Hamano
2010-04-27 20:37     ` Jacob Helwig [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=l2w8c9a061004271337v62c71145jec782712618e4655@mail.gmail.com \
    --to=jacob.helwig@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=lists@wiesinger.com \
    --cc=trast@student.ethz.ch \
    /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).