Commit Briefs


Stefan Sperling

de-duplicate a constant used by both 'got fetch' and 'got send'

Both GOT_FETCH_PKTMAX and GOT_SEND_PKTMAX had the same value. Declare this value as GOT_PKT_MAX in got_lib_pkt.h instead.


Stefan Sperling

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.










Stefan Sperling

implement 'got fetch'




Stefan Sperling

apply unveil(2) to 'got clone'



Stefan Sperling

send indexing progress via an imsg




Stefan Sperling

document fetch API functions



Stefan Sperling

rename got_fetch() to got_fetch_pack()