A tool to download patches from gitweb, and a second tool to rebuild a git repository from them.
- Install ObjFW, and if you want TLS support, ObjOpenSSL
- Run
make - Copy
gitweb-scraperandrebuild.shwhere you want to have them
gitweb-scraper http://example.com foo.gitrebuild.sh foo.patches foo-git
- Rebuilding repositories with non-linear history won't work well
- Commit hashes are not preserved: At least the Commit and CommitDate properties of the rebuilt commits will be different.