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

Re: ACLs for GIT

From: Marc Weber <hidden>
Date: 2016-06-15 22:51:14

Excerpts from Martin L Resnick's message of Sun May 15 21:24:38 +0200 2011:
Is anyone working on adding access control to GIT ?
I don't know git internals very well. But my very basic understanding is
that each commit hash is based on *all* file contents and path names and its history.

If you drop some paths (eg by denying access) there is no way to verify
or recalculate the hashes ?

So even if you can deny access to some path I'd expect the result to be
unusable because all kinds of tools such as gitk will start telling you
about missing paths.


Alternative ideas:

- github supports SVN access to git repos. Maybe you can ask them to
  provide what you're looking for?

- clone the repo and strip off the files. Then allow access to those
  cloned striped repos only.

I don't think there is a simple solution to your request. But others may
know better than I do.

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