Commits
- 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
- Commit:
bf3ab20628c2f092c3ddea4787a49621986abd07
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix regression test failures with Git 3.30.5 / 2.38.1 or later installed
The fix for CVE-2022-39253 in Git made our regression tests fail since
creating submodules from local clones is no longer allowed by default.
Add an override to our invocations of "git submodule add", the same
which was added to Git's regression test suite as part of their fix.
This CVE doesn't otherwise affect us. We do not implement submodules.
Our use of them in regression tests exists only to ensure that Got does not
freak out when it sees one. Precisely because automated support for nested
repositories and/or working copies (as in Git Submodules, or Subversion
Externals, etc.) have been an endless source of security problems in
other systems.
sudden test failures pointed out by naddy@
- Commit:
2424a69df90c2e63ec0640ae982b316106698760
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
change got_pack_parse_offset_delta tslen argument to size_t
The tslen argument is always in the (1..9) range so `int' is technically
fine (even int8_t would be!) but all the callers are passing a size_t,
so change the type accordingly.
ok stsp@
- Commit:
53968af20b9d32ed534dbcb5c2a429bbf67e036c
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotsh.1: Use Sx for referencing EXAMPLES; patch by Josiah Frentsos
- Commit:
dd7562e6d1e86d5768526f2bd17089e5c8be4152
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Set next version