shithub: shithub

ref: 7c3ef1d4f6ff9b6dfcc96d4b0bce2c93cdc1d069
dir: /patch/

View raw version
#!/bin/rc

. /sys/lib/shithub/common.rc

cd $1
shift

rfork ne
nl='
'

gituser=$1
repo=$2
hash=$3

repons $gituser $repo
cd /mnt/$repo

http_response 'text/plain'
git/export $hash