Commit Briefs

Stefan Sperling

return GOT_ERR_EOF from pkt.c if a read attempt indicates EOF

ok jamsek


Omar Polo

always cast ctype' is*() arguments to unsigned char

ok stsp@


Omar Polo

fix snprintf error handling

follow the "proper secure idiom" described in the CAVEATS section of printf(3). reminded by tb@ and millert@


Omar Polo

build with -Wmissing-prototypes

ok stsp@


Stefan Sperling

move pkt code used by got-fetch-pack and got-send-pack to a common file

The Git protocol uses a simple packet framing format. The got-fetch-pack and got-send-pack programs contained identical copies of functions to support this format. Move related functions to new file lib/pkt.c and link both programs against this common implementation. No functional change.