Commits
- Commit:
61af9b215c06bece11deb27d941b390b81e0f8c6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement support for commit coloring in got-read-pack for speed
ok op, tracey
- Commit:
336075a42a5ae0fa322db734c481d21998e82bb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
build with -Wmissing-prototypes
ok stsp@
- Commit:
80f51a9eb717ad2fcb3df8870e03767bcf82d845
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix unexpected imsg error after incomplete enumeration in got-read-pack
reported by jrick and op@
ok op@
- Commit:
031611fc2bfa569627e4bc9f8f6092e6d47c2503
- From:
- Omar Polo <op@omarpolo.com>
- Date:
memset all stack-allocated structs used to send messages; ok stsp@
- Commit:
1a69d37faef36a64fd4252e75b9149b2b453752d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
zero the whole struct got_imsg_object before sending it
otherwise some fields may be unitialized and fail the validation done on
the receiving side.
ok stsp@
- Commit:
afd3149814241c83780b6f8df65ea0cfa39fbcb8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a harmless off-by-one from previous commit
- Commit:
a5e587e014cba0e9dc62ab1817983c89851cbe93
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a bug in got_privsep_send_object_idlist() exposed by recent changes
The old code did not work correctly if only a single object Id was to
be sent to got-read-pack. Make got-read-pack error out if the list
of commits for object enumeration is empty to catch this problem if
it occurs again.
Found by the send_basic test, which was failing with GOT_TEST_PACK=1
ok tracey
- Commit:
db9b9b1c2b70d98419e70b05e7283b2284bedbec
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let got-read-pack be explicit about whether it could enumerate all objects
This allows the main process to avoid looping over all object IDs again
in case the pack file used for enumeration is complete.
ok op@
- Commit:
b4b1b9c0333d1aedca89dd35c4e60ac8684cddac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove trailing whitespaces
- Commit:
0fca100c2fe2bfd8e88b22246068addedecd343d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
compute object size, not pointer size
in this case they're luckily the same; got_imsg_object_idlist and
got_imsg_reused_delta only have one size_t long field.
ok stsp@
- Commit:
c98b0f0b57cce101941efd993eac8b9e3be2a70a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
strictier validation for data received from libexec helpers
use correct error code and ok stsp@
- Commit:
3e6054c427d642654d5abed63965eead037a7b2f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop unused variable
- Commit:
bf31a716e240db9b58ddd53f468b3b23e49237c2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use strndup instead of malloc+memcpy
Simplifies the reading of the author/committer string and makes also the
code shorter.
ok stsp@
- Commit:
71fee5a34a12ea7a545b3c4dfbe91023c8f7c69a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't check datalen when calling recv_imsg_error
recv_imsg_error already checks the size of the message, and it does so
more precisely than the removed code.
ok stsp@
- Commit:
0ab4c95723904e176687f5edc131bdf422dd261a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Bring back object enumeration inside got-read-pack as a fast path.
The problem that was found in the earlier version has been fixed.
ok op@