Commits
- Commit:
1362b0e3088fdb4d1c93ffbdd3a1fbbdc767a34b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename sha1.c to hash.c
- Commit:
69c6accf47680d70def917cbab0e761177d8264b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h where sha1.h was included
- Commit:
3093e2d747a41afd623354136331c7babea32ca8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sed -i s/sha1/hash
not exactly, some "hash" were changed back to "sha1" for the time being.
- Commit:
d8bacb933720b8819f0c4e76b004775aa1885b9b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: minor refactor of got_pathlist_free() API
Accept flag parameter to optionally specify which pointers to free. This saves
callers looping through the list to free pointers.
ok + fix stsp@
- Commit:
b90054ed55f30ebe28115abf5ad9cecc2b925713
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use mkstemps(3) instead of mkstemp(3) for opening named temporary files
Allows 'got commit' to use a ".diff" suffix for temporary diff files.
ok op@
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
bc5e881ab9b3f23c4c4d00845d2e553d4fcd7e56
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in got_fetch_pack(); patch by Mikhail
- Commit:
8934ea8b1b31166ea1f3f857e6f51f8dd6a999a2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
factorize imsg_clear calls after imsg_flush failures
imsg_clear frees and closes resources allocated as part of enqueueing
imsgs so it's a no-op after reads.
discussed with and ok stsp@
- Commit:
688fe08b75a31d11eaf64a44751f903bdfa61b68
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix fd leak in got_fetch_pack, ok stsp@
- Commit:
197088a4e27004293735c7fc011bb92e1bf8fe75
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
whitespace
- Commit:
f8b19efda6453501f8bc4ce868f953b703dca576
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use RB_TREE instead of STAILQ to manage packindex bloom filters; much faster
- Commit:
dd088d9503d8e7cebbb30c535d8e4d11556c8d30
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let 'got fetch' send all references to the server to avoid redundant downloads
Problem reported by naddy.
ok naddy
- Commit:
965803d33ff4b7472b22868076e8cbc13b069218
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'got fetch' downloading too many objects in some cases
Always announce all local references to the server when fetching changes.
We used to do this only in mirror mode. In regular mode only refs/tags
and refs/remotes/origin were announced, which could result in unnecessary
downloads if relevant objects exist in refs/heads or elsewhere.
- Commit:
5e5da8c4bcc83f7737a115b8da52fc3935fe3a6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_fetch_parse_uri() to got_dial_parse_uri()
This function is now being used by both 'got fetch' and 'got send' so
its former name was misleading.
- Commit:
77d7d3bb1aabafae6c020c8a07a6e9f4f7885c9b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.