On 18.05.2013 18:06, John Keeping wrote:
> On Sat, May 18, 2013 at 05:46:35PM +0200, Jason A. Donenfeld wrote:
>> On Sat, May 18, 2013 at 5:27 PM, Florian Pritz <[email protected]> wrote:
>> > The point is that I want to keep already cloned repositories (as in "git
>> > clone git://foo" via git-daemon) working and mod_rewrite won't help with
>> > that even though it would probably work fine with the http clones.
>> 
>> Make a directory elsewhere on the file system.
>> Symlink everything you need into it.
>> Point git-daemon at that.
> 
> Subject: [PATCH] Add scan-exclude option to filter out repositories

That's a global option and I don't want to update the global config each
time I add/move repos.

Maybe we could check if the repo dir is a symlink and only hide it and
redirect to the new location if the last target is within scan-path?

That would allow users to easily move repos to subdirectories while
still allowing them to get the current behaviour back by simply moving
the target somewhere outside scan-path and placing some symlinks.

It also won't need a option if documented properly and IMHO it's rather
intuitive.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to