summaryrefslogtreecommitdiff
path: root/src/protocol.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize transport architecture (squashed 3)Philip Kelley2012-11-011-110/+0
|
* protocol: don't store flushesCarlos Martín Nieto2012-10-071-2/+4
| | | | | | Storing flushes in the refs vector doesn't let us recognize when the remote is empty, as we'd always introduce at least one element into it. These flushes aren't necessary, so we can simply ignore them.
* fetch: use the include-tag capabilityCarlos Martín Nieto2012-09-301-0/+6
| | | | | This tells the remote to send us any tags that point to objects that we are downloading.
* network: add sideband supportCarlos Martín Nieto2012-08-241-0/+14
| | | | | This lets us notify the user of what the remote end is doing while we wait for it to start sending us the packfile.
* transport: store the refs in a common areaCarlos Martín Nieto2012-07-301-31/+29
| | | | | | | | Instad of each transport having its own function and logic to get to its refs, store them directly in transport. Leverage the new gitno_buffer to make the parsing and storing of the refs use common code and get rid of the git_protocol struct.
* remote: use the same code to control git and httpCarlos Martín Nieto2012-07-301-0/+32
| | | | | | | | This allows us to add capabilitites to both at the same time, keeps them in sync and removes a lot of code. gitno_buffer now uses a callback to fill its buffer, allowing us to use the same interface for git and http (which uses callbacks).
* errors: Rename error codesbreaking-changesVicent Martí2012-05-181-1/+1
|
* errors: Rename the generic return codesVicent Martí2012-05-181-1/+1
|
* Merge pull request #654 from carlosmn/pkt-errVicent Martí2012-04-301-0/+7
|\ | | | | Recognize and report server-side error messages
| * net: recognize and report server-side error messagesCarlos Martín Nieto2012-04-301-0/+7
| | | | | | | | | | When e.g. a repository isn't found, the server sends an error saying so. Put that error message in our error buffer.
* | buf: deploy git_buf_len()nulltoken2012-04-301-3/+3
|/
* error-handling: protocol, pktCarlos Martín Nieto2012-04-111-9/+10
|
* Update Copyright headerschu2012-02-131-1/+1
| | | | Signed-off-by: schu <schu-github@schulog.org>
* net: move the reference storage to common codeCarlos Martín Nieto2011-11-181-0/+50