aboutsummaryrefslogtreecommitdiff
path: root/git.js
AgeCommit message (Collapse)Author
2015-06-06gittorrentd: Use git-upload-pack for pack files.Scott Prager
Add `upload_pack` to the git module to (partially) implement the pack protocol, then use this in gittorrentd instead of `git pack-objects`. This lets us generate packs based off HEAD instead of packing the whole tree each time.
2015-06-06Use `git ls-remote` to get local refs.Scott Prager
`git ls-remote` gives us the same info as `git-upload-pack`, but in an easier to parse format. We can also share the code for interpreting `git ls-remote` between git-remote-gittorrent and gittorrentd. This also fixes the problem of `publish_mutable_key()` being called too soon.