summaryrefslogtreecommitdiff
path: root/send-pack.c
Commit message (Collapse)AuthorAgeFilesLines
* Add "git_path()" and "head_ref()" helper functions.Linus Torvalds2005-07-051-4/+1
| | | | | | | "git_path()" returns a static pathname pointer into the git directory using a printf-like format specifier. "head_ref()" works like "for_each_ref()", except for just the HEAD.
* Move ref path matching to connect.c libraryLinus Torvalds2005-07-041-21/+0
| | | | It's a generic thing for matching refs from the other side.
* Factor out the ssh connection stuff from send-pack.cLinus Torvalds2005-07-041-73/+2
| | | | I want to use it for git-fetch-pack too.
* Fix gcc warning in send-pack.cLinus Torvalds2005-07-031-0/+1
| | | | | send_pack() was declared to return "int" (although nobody cared), but didn't actually return anything.
* Do ref matching on the sender side rather than on receiverLinus Torvalds2005-06-301-3/+25
| | | | | | | | | | | | This makes the receiver always send a full list of valid refs, which will allow us to do better packs, as well as handle creation of new refs. Eventually. Right now we just moved the matching and enabled it. So now you can do git-send-pack host:path branch1 branch2 to only send branches "branch1" and "branch2".
* git-send-pack: actually send the object packLinus Torvalds2005-06-301-12/+79
| | | | | | | | This concludes this lesson. I've actually successfully sent an update using the git-send-pack command. Probably tons of work still to do, and nasty debugging, but it's now actually potentially useful.
* Add comment on what send-pack still needs to doLinus Torvalds2005-06-291-0/+11
| | | | Me tired.
* Slow but steady progress on git pack receive/sendLinus Torvalds2005-06-291-25/+38
|
* git-send-pack: start parsing local/remote reference differencesLinus Torvalds2005-06-291-3/+58
| | | | | Right now it just shows which refs it picks up, and whether they are the same or changed on the remote end. Getting there..
* Make send/receive-pack be closer to doing something interestingLinus Torvalds2005-06-291-4/+8
|
* Start of "git-send-pack", the local part of sending off a packLinus Torvalds2005-06-291-0/+118
Like git-receive-pack, this is only partway done.