Vicent Martí
e172cf082e
errors: Rename the generic return codes
2012-05-18 01:26:26 +02:00
Carlos Martín Nieto
41178b419a
examples: fix an oopsie
2012-05-11 21:49:33 +02:00
Carlos Martín Nieto
fb49bdf9c7
examples: update network examples error handling
...
Use giterr_last() and make sure it's not NULL.
2012-05-10 16:52:12 +02:00
Carlos Martín Nieto
fc1cc2051e
Use new error handling in the example network code
2012-04-11 19:16:10 +02: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
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