Commits
- Commit:
61f9965eb408b8f749dbbcb42d49b88c9d23788e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
e18312d9b6e6e3f6c78f904238ceaae3b8d4ccac
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reword misleading comment in struct got_repository WRT struct got_pack
- Commit:
8e839f3b4912a02438523ac7256908a8f4ec252f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd no longer uses chroot; remove comments suggesting otherwise
- Commit:
72f5a11aff98b21aafaf38400707411549e7c12b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
aa2aecab69ed4f6ff9ab2a5bb7e32109cf95aefc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
00ddec2f20c1ce1b0136a7ae54efb790069126ec
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
relax build_refs_str to allow a NULL reflist, simplifes the callers
ok stsp@
- Commit:
5e43aca66f1762b7612d9efb4b000575f1b7a3ab
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
oops, one was missing
- Commit:
a97a7b2d0f3aef38c682073294822e88e1c2ef1c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
2a18388f44a486d45efd0594e4cfa3d7ddeaebdf
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix indent; touches only `return 0;' lines
- Commit:
61dc16bb64b935a7b13342b8bc47db282d10e676
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
ba77389f9f3a659ebd77c8a4b4974c645e0530fd
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
don't zero fields of a calloc()-allocated struct
- Commit:
c4c6774f44148ea66dc566dfdcf36f531f9e5291
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove fsync() from got_gotweb_closefile()
discussed with millert@
- Commit:
d00235d81cec70db37ca306ea1db137a5464982e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename got_gotweb_flushfile -> got_gotweb_closefile
suggested and ok millert@
- Commit:
985ec13bc7dc1bc1885d8111e51ea98c619d0d4e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make got_gotweb_flushfile always close the file
ok millert@
- Commit:
54ca6e2b432edddabc0fca60a74968e6ef4bf790
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
log close() failure in gotweb_free_transport
- Commit:
db26fc4c9b43331d8bc1536cc9f576724710b817
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename some local fdN vars after previous change
- Commit:
04b2c111f2cee68f0aa07855fcb7329a4913050b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
f292b27176775cc4061f3da0be7fe0efcaf0325c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
simplify previous; avoid temporary string
blind ok stsp@
- Commit:
9472af9550ec85323ab6c004d71f8a671a6b014d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
show reference labels next to commit messages in tog log view
requested by mpi@
ok op@
- Commit:
075759e6d59e0884b6d96dd7a98f9e72a7276132
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
11de1f0a5697c6cf6226817e41daaab98381af5b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: fix test for 'got diff' against CRLF files
ok stsp
- Commit:
1dc869217ab6349432babacb4dc18ac039b76e25
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync files from diff.git f46fa9b5e78156c0360f508336dbe3dfa04b503f
Do not treat \r\n line endings as special.
- Commit:
1faec3fb1acea5d3cb89b1e0ae2eeddb84cda4b9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'got patch' display statistics about files with conflicts and rejects
ok op@
- Commit:
8e6eb32a6fc7af2d3bb89aebad7f5f9ae122b017
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
properly report a test failure care in test_patch_merge_conflict
- Commit:
c806df28bc81288e1e60327e195df70b54ccfe38
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version