Commits
- Commit:
924100791157ab7f6842e7c7b5bd225c00ad5aab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix regression where 'got send -T' failed if same tag already exists on server
Problem reported and fix tested by Omar Polo.
- Commit:
f8b19efda6453501f8bc4ce868f953b703dca576
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use RB_TREE instead of STAILQ to manage packindex bloom filters; much faster
- Commit:
4e91ef1519233965edd1bbd83f6699f669c8f9d6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it possible to merge vendor branches with 'got merge'
- Commit:
c2105d002a73e60c6f3194dd96a1a0b09eb34e08
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix another instance of 'got send' sending branches the server already has
- Commit:
d65a88a2f0db40d2c2ac34ee34e8aff8ac629d52
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move duplicated dial_ssh() and dial_git() functions into a common file
These functions are used by 'got send' and 'got fetch' in order to
open network connections to a server. Move them into new file lib/dial.c
and declare relevant functions in got_dial.h and lib/got_lib_dial.h.
No functional change.
- 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.