Commits
- Commit:
4231e6b557d72b2ae13ede2aecdd6391f271f25e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-fetch-pack: fix wrong memmove length leading to dubious checksum failures
ok millert tracey
- Commit:
92ddd9f6696006cebffafa1258f4ba366e411302
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: compat/sockaddr-linux: add licence header
Add the standard header to this file to indicate its licence.
- Commit:
805369676d6a399b7900143bdd7233b7747a698e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix typo which caused a double-free in gotd repo_write_shutdown()
- Commit:
4f218b0c7367ba96069e8299bfe3d910121c030d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotctl: simplify socket_path handling
ok stsp@
- Commit:
635d7427c527f4323a791e45fb2cdd6f75d46e25
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove umask TODO
- Commit:
a2c162ebaea11f9bd1d46c4cdf5b8f488ebaf58f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
respect umask when creating or changing files and directories
This behaviour is already documented in got-worktree(5) but wasn't
actually implemented.
ok stsp@
- Commit:
0df6b4df0fdcddf91ef84e4af4e0a6603b87c6f3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
man page fixes suggested by Josiah Frentsos
- Commit:
c902213d3f8bc01899af3801fc2521a702fc703c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add gotctl(8); initially supported commands are 'info' and 'stop'
This will be used by an upcoming regress test suite for gotd(8).
ok tracey
- Commit:
a0603cf4f59bf80a3c8d65c4fa38da371dba8c5b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix syntax error in gotsh.1 sshd_config example
- Commit:
cc4cc677bdd071467631d920c78b3cc512c492ad
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove sendfd pledge promise from gotd repo_read process
Have the parent process send one end of the pipe directly to gotsh(1),
such that repo_write can run without "sendfd".
Combining "sendfd" and "recvfd" in the same process is frowned upon.
ok tracey
- Commit:
e485d53ccedd8763e8b66aefb2d491487e6d73c0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
change add_delta to take an off_t instead of size_t.
add_delta already calls got_delta_open casting the size_t to off_t, and
all the add_delta callers pass an off_t anyway; fixes an implicit off_t
truncation.
ok stsp@
- Commit:
1dc5ea0c03cb3abc7e1d6646aae735ebbae60045
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
stop installing git-{receive,upload}-pack symlinks to gotsh in ~/bin
Having those links in the user's PATH can make our send/fetch regression
tests fail. We do want to talk to git-daemon during those tests, and these
symlinks can get in the way of that.
- Commit:
66e6097f5d9b6050841626edfd5c094114eeae28
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
convert got_pack' filesize to off_t; ok stsp@
- Commit:
2aef7b234d92623c36d4b113d21ed5ecc010a926
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug a memory leak on error in got_gotconfig_read()
ok op@
- Commit:
1b2f32fbcbbab1e5f19815a91667ebc56dd2463f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add missing check for errors from got_gotconfig_read() in open_worktree()
- Commit:
6ca25bfcab74e714d1227f536dd9ccaf8f9e8155
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make got.conf(5) warn about remotes configured in locally-shared repositories
- Commit:
f7065961155cb464f66b5189bf6103ab84afab3f
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sort getopt() option lists and switch statements; patch by Josiah Frentsos
- Commit:
fe3b549558bc8ece8daf1251ea28f84cb1b63c47
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix off_t type mismatch in gotd
see e082ed67; ok stsp@
- Commit:
aa75acde9c5f406b658c54827bc596cf96d7c64e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check size before calling mmap(2)
It's only a preparatory step, as checking whether a size_t is less than
SIZE_MAX is moot. In a follow-up commit, however, the `filesize' field
of the struct got_pack will become off_t and these checks will kick in.
This also makes consistent how we guard mmap(2) against empty files.
ok and improvements stsp@
- Commit:
6cf83e6acc490e33ba4d6792960b0f4f2bc8b674
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add bounds check when reading a delta offset from a packed object
ok stsp@
- Commit:
30d415a5040946f62a5e9e8c6bf6ccf7f5509541
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add missing `goto done;' on error path; ok stsp@
- Commit:
5ba3f0ff81d32a78a1ba9d28b017049cad05247e
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix spelling of "FastCGI"; patch by Josiah Frentsos; ok op@
- Commit:
04fb0dd80d172753f311cfa4fdd0e15b107240bd
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix off_t type mismatch
off_t is a signed type and depending on the platform, it can be
"long" or "long long", so cast to long long for printf().
- Commit:
4f29e1f17c1ebcccb0eb8893ec0dd9cdc6037a00
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rebase.sh: remove accidentally included absolute path to "got"
- Commit:
5ac853dcba225c4b61cc2f49edbdb657c9ae0bba
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix gotd(8) usage() string; patch by Josiah Frentsos