Thread (16 messages) flat view 16 messages, 8 authors, 2016-06-15

Re: Global .git directory

From: Jacob Helwig <hidden>
Date: 2016-06-15 22:48:43

On Tue, Apr 27, 2010 at 13:06, Gerhard Wiesinger [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help