]> git.lizzy.rs Git - plan9front.git/commit
git: allow local repository directories as remote uri's
authorcinap_lenrek <cinap_lenrek@felloff.net>
Fri, 4 Jun 2021 15:47:26 +0000 (17:47 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Fri, 4 Jun 2021 15:47:26 +0000 (17:47 +0200)
commit5a34cc86a807c4629491b38f0f401e885956edc0
treec1aae1d6f139388fbc99dc85743af5043b02957a
parent4dd461e4400b20fbb218304e53a84d3704ae8304
git: allow local repository directories as remote uri's

This is implemented by checking first if the uri is
a directory containing the .git/ subdirectory.
If this is the case, we fork git/serve serving the
repository on a pipe.
sys/src/cmd/git/proto.c