Commits
- Commit:
c034b06627303c06e0d334eeaf3d36bc3da74325
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix the size of gotwebd's array of tempfiles used for deltas
Prevents ftruncate() errors due to bogus file descriptors passed from
gotwebd once the repository layer runs out of temporary files to use
for deltas. Have gotwebd open the maximum amount of required temporary
files for now. A proper fix which scales to lower ulimit -n settings can
be implemented later.
Problem reported by patrick@
- Commit:
b156a14e478c9485a080a24f237f70b6c8984182
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reword misleading comment in struct got_repository WRT struct got_pack
- Commit:
5e187e2b4b0695966e135747400039b46a6992d1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotd no longer uses chroot; remove comments suggesting otherwise
- Commit:
f06465966b88928c2801b7d9ecb36c3a7c5e36b4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: avoid needless double fseek()
got_gotweb_closefile() already takes care of rewinding before
truncating and closing, so no need to replicate here.
ok stsp@
- Commit:
8a078d7f1359fdf37e7bc18d6ace3c3579b98b33
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: lower log priority of unexpected disconnections
no need to be so loud when a client disconnects earlier than expected,
log it only in verbose mode. Don't log GOT_ERR_CANCELLED too since
that is only used to communicate the callers that we need to stop.
ok stsp@
- Commit:
9cd447eb681a736f222bbe134ca37c1fb30cfa89
- From:
- Omar Polo <op@omarpolo.com>
- Date:
relax build_refs_str to allow a NULL reflist, simplifes the callers
ok stsp@
- Commit:
29efeeddc18828c36f1a6df50e05297a51a1a396
- From:
- Omar Polo <op@omarpolo.com>
- Date:
oops, one was missing
- Commit:
4e3e8516c9205eb93e0203a60fd74e271f567adb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got_operations.c: use consistently a space before labels
makes diff prettier and easier to read; instead of the label we
have the function name in the hunk line.
- Commit:
f90f59b491596d4b62e34faa6971095324caba37
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix indent; touches only `return 0;' lines
- Commit:
0b570e72a9d79d0b3b0927c99cdbaff8cea86f37
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tog: fix segfault in draw_commit
build_refs_str() can succeed returning a NULL string if a commit
has some refs pointing to it but that were all filtered out, resulting
in a NULL-deref.
ok stsp@
- Commit:
d1bd49a9f4cb68bfe8dd012bcf41342bf93135e1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't zero fields of a calloc()-allocated struct
- Commit:
d20cd3851233c5fcfd89337f428bf85b45f1f6d7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove fsync() from got_gotweb_closefile()
discussed with millert@
- Commit:
24a4d8019b7b2937f03fc86f47048f599ec6617c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename got_gotweb_flushfile -> got_gotweb_closefile
suggested and ok millert@
- Commit:
08ea2d1b208deaafa404f05069a578e4c58a9a6d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make got_gotweb_flushfile always close the file
ok millert@
- Commit:
276bccc4651afa03134d0faa1cf1c703b5f819bd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
log close() failure in gotweb_free_transport
- Commit:
e62232ad5eede7312d40cef9a300a4c74ea91eda
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename some local fdN vars after previous change
- Commit:
18069c98fe9366115c4daff243a6c0afe5069d3c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify got_gotweb_openfile/flushfile
Return only the FILE *, and require only that to close subsequently.
Having to manage the file descriptor too makes using these functions
unnecessary complex.
millert@ agrees
- Commit:
f9ba221e8cb752b2dc0bdefd29108cff8ab31799
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify previous; avoid temporary string
blind ok stsp@
- Commit:
689555c9e29b71a739b43324c7639a4803744bdf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show reference labels next to commit messages in tog log view
requested by mpi@
ok op@
- Commit:
ca6354ef26575fc21db29587fb67e3d9ce01bc9d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong assumption about author timestamp in test_blame_lines_shifted_skip
Not all commits will share the same author timestamp. This test would fail
when run at the wrong time of day as found out by op@'s regress runner.
ok op@
- Commit:
ba0bed23e515b14cd3fe877c6847785c8c29971e
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: fix test for 'got diff' against CRLF files
ok stsp
- Commit:
4223c71f413ca49b0d7d13a937fba89880d14441
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
sync files from diff.git f46fa9b5e78156c0360f508336dbe3dfa04b503f
Do not treat \r\n line endings as special.
- Commit:
bfcdc9e9816dc81c90ce2db28ad9b602ec06b95a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got patch' display statistics about files with conflicts and rejects
ok op@
- Commit:
e423877dd3fa76444ef448d4272a9f6d3ff32b54
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
properly report a test failure care in test_patch_merge_conflict
- Commit:
c000aa350eac5ac329beb278a513e5f978d2a463
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
gotd: return early after disconnect on auth event error
This fixes a segv reported by Mikhail. In this path, any error is already
logged, client freed, and event_del() called so we don't need to cleanup
in done.
ok stsp@