Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git archive invocation using sha1 to specify commit

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:10

Zdenek Crha [off-list ref] writes:
In out company we are using git together with source indexing. We
store a git command for retrieval of source code file that was used
for building into pdb file(s). Currently,...
... I'm not sure whenever ability to export arbitrary sha1 will be
allowed too.
No, that will be a premium feature that your company _could_ pay for with
the source of that "source indexing" system ;-)

Jokes aside, this was part of a security tightening to make sure nobody
could reach something that cannot be obtained by cloning, without incurring
large computation overhead.

Theoretically we could selectively loosen the restriction [*1*], but it is
not very high on our priority list.


[Footnote]

*1* When the given starting point is a raw SHA-1, we could run a single
merge_bases_many() to see if any of the refs can reach it, and only serve
the tree the check passes, or something.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help