Commits
- Commit:
535e07c7d678cfc4a2b6ad61f72c36e0a46e5111
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
make realloc_ids() malloc-like and do not overallocate
Let realloc_ids() take as argument the number of entries to allocate.
Do not allocate an extra chunk.
ok stsp
- Commit:
8f2a2f4f1cea3d391fbf62e7507dd233cad10d99
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
drop realloc_ids() initialization calls, one of which had a typo
realloc_ids() is called again in the loops that assign to the ID arrays,
before the first assignment.
ok stsp
- Commit:
27b75514d9b1c8e9f188ef9c483760647a8c1b72
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not send a pack file when 'got send' is only deleting branches
The git protocol spec says the client MUST NOT send a pack file
if the only command used is 'delete'.
Fixes 'got send -d' against Github's server which closed the session
upon receiving the empty pack file we sent. This problem wasn't caught
by regression tests since git-daemon does accept an empty pack file.
Problem reported by jrick.
- Commit:
1bd76734ce8e567c3f156533dc1af31878bd5a65
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix the output of 'got send -d' upon success
Previous output was: Already up-to-date
New output is: Server has deleted refs/heads/branch
Check this behavour in the related regression test.
- Commit:
f8a36e221091eb68b439ebe4eb07a5d03b335c28
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add 'got send' command for sending changes to remote repositories
Known to work against git-daemon and github Git server implementations.
Tests by abieber, naddy, jrick, and myself.
Man page additions reviewed by Lucas.