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

Re: Global .git directory

flat view

From: Gerhard Wiesinger <hidden>
Date: 2016-06-15 22:48:43

On Tue, 27 Apr 2010, Thomas Rast wrote:
Gerhard Wiesinger wrote:
quoted
Hello,

I'm new to git and as far as I saw that feature is missing: Placing .git
directory/repository on a central place for many git repositories. This
feature ensures that data directories are kept clean from metadata of git.
[...]
quoted
I think this should be easy to implement on a centralized point.
What problem are you trying to solve, what solution are you
attempting, and why does the .git get in the way of your proposed
solution?
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 .)
2.) Making tarballs, diffs, etc.: One has to make ugly --exclude or some other workarounds when directories are traversed.
3.) From an archtectural point of view: It is not technically necessary to mix up user data with repository data.
(In other words, please convince us that this is actually worth
having.)
Ok, rather than convincing I've written a (fast) patch which works for me :-)

Any comments? Any (further) changes needed? Will you include it in main git?

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help