Vicent Marti
d88d4311c7
remote: Cleanup the remotes code
...
- Hide the remaining transports code
- Drop `git_headarray`, switch to using a callback to list refs. Makes
the code cleaner.
2011-11-28 08:40:40 +01:00
Brandon Casey
0b142c9cb2
examples/network/.gitignore: ignore 'git2'
2011-11-06 20:07:27 -06:00
Brandon Casey
349532d0b1
examples/network/git2.c: exit with proper status, and avoid segfault
...
This function should exit after printing usage information if too few
arguments were specified.
Additionally, it should exit with a failure status if the first argument
supplied is not one in the internal command list.
2011-11-06 19:44:29 -06:00
Brandon Casey
983562e475
examples/network/git2.c: add newline to usage message
2011-11-06 19:43:44 -06:00
Brandon Casey
faeebd06e4
examples/network/fetch.c: revert overzealous conversion of free to git__free
...
Since git__free is not exported (it's actually a macro), it should not be
used in client programs. Change this call to 'git__free' back to 'free'.
2011-11-06 19:35:35 -06:00
Vicent Marti
3286c408ec
global: Properly use git__
memory wrappers
...
Ensure that all memory related functions (malloc, calloc, strdup, free,
etc) are using their respective `git__` wrappers.
2011-10-28 19:02:36 -07:00
Carlos Martín Nieto
2401262778
examples: add ls-remote, fetch and index-pack examples
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-10-03 02:32:32 +02:00