Commits
- Commit:
61bce19e6ae4329fe5f0a05d33b7bd1510718852
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert "clear the rest of the pack_fds pointers"
There is no need to clear local variables before returning from a function.
ok tracey
- Commit:
75c1763d9625f6bb8a30952d087f931673ebced6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix D_GOTWWW default path; gotweb can now run without a config file again
ok tracey
- Commit:
bb1c2cf3c90225c5f234ac42f3507b6e1839da5d
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
clear the rest of the pack_fds pointers
- Commit:
e17984a09be8df91edac0a44b56c088560951d24
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
clear gw_trans->pack_fds pointer in gotweb
- Commit:
b0c3aa90f1603016465bfb79b4fd860b7fec0e1b
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix recent regression in gotweb for pack_fds
- Commit:
5a950d099a15fa3dc29590f3a8e90de9d6e1972b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
using a local packfd variable in open_worktree() is sufficient
- Commit:
d188eb1946acd5671794bb6cbdd256d7b962a669
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove pointless assignment at the end of got_repo_pack_fds_close()
- Commit:
bb711527a87bef0fc809a71d53e9bc2dad28150d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't look for close() errors if opentemp() failed in got_repo_pack_fds_open()
- Commit:
8b19523440af8c1c3629f6c73a1a5894ccf1261d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
clear pack_fds pointer in tog's stop_blame() after closing
- Commit:
74467cc8677eeaf13a4775b925834937eaf16df9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix handling of pack_fds used by tog's log thread
- Commit:
0ae84acc1f0a0584e4f26ccbe029c895043b3abe
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of got_repo_open. ok stsp@
thanks for all the help massaging this diff
- Commit:
06c44edcbf03f02d1d7c07f9360de526dd4203d3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for errors from fclose() in patch_file()
- Commit:
11ce22a1a15a25df1218e6cd79c7c0ff7e951b63
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug memory and fd leak in got patch
- Commit:
33c3719a3133ea565d69348d51b7a65485dbbcee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
re-add u/d keybindings as aliases for Ctrl-u/d, matching more(1) and less(1)
patch by Mikhail
- 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:
ffe3518f1b3ac78ceeac8b605cb0eec2006bae67
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong arguments to calloc(3) in enumeration_request()
- 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:
35095610b1bb11a6c722f6d42f6609bd308531a8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: use ints for line offsets instead of longs
ints have the advantage that their size is more likely to be the same
across the various architecture supported by OpenBSD, thus introducing
less possible differences.
INT_MAX is still (at least) a few order of magnitudes higher than the
patches we dealt with (even abnormal ones.)
suggested by stsp@