Commits
- Commit:
dd4ea8bd9bd04c88bb85c1b7f67a7f7b3e43b94e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
got-fetch-pack: fix wrong memmove length leading to dubious checksum failures
ok millert tracey
- Commit:
8193d041d9f06ea7e99fa60f48a738cea4991644
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix typo which caused a double-free in gotd repo_write_shutdown()
- Commit:
f5d30fbb425287166f3a3ce74eca6adf547bdef7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotctl: simplify socket_path handling
ok stsp@
- Commit:
b6ef252ebaef7fa8a1bce4d12b51f735fb5e3e3f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove umask TODO
- Commit:
b2b3fce13e4eca588bb28a869b07f0063568b505
- From:
- Omar Polo <op@omarpolo.com>
- 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:
ed0cf971e59aa78ca1de9e9a4365ec7025dac004
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
man page fixes suggested by Josiah Frentsos
- Commit:
f1752522ac2fd00af85111c530b80ef1187a07f7
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
d815102a02118e65c84d562a312d18f27303c85f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix syntax error in gotsh.1 sshd_config example
- Commit:
86769de8751a920ee4288ec91157066d6f098bfc
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
7fec5f4ad5baecf5bab9d872a925055270b2cf53
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove sendfd pledge promise from gotd repo_write 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:
e5792992e5d6e73bb379bbfcd69ae2e66afe359d
- From:
- Omar Polo <op@omarpolo.com>
- 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:
fba1620002c2caadd99d922c5e66e0d3676cfbc1
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
ad4cc36168576274131539e87b9007ef9b3c3725
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert got_pack' filesize to off_t; ok stsp@
- Commit:
417258479785447bb8b2d6106b1220cd833e4591
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak on error in got_gotconfig_read()
ok op@
- Commit:
2f6519cc051376f41ed4f45fcd6d63c0e7ff5642
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing check for errors from got_gotconfig_read() in open_worktree()
- Commit:
d45bf965ad22b8cd812b96ded2ee1f81de7e9ab1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got.conf(5) warn about remotes configured in locally-shared repositories
- Commit:
6f3190632709528909c1dc45046a2a85921584aa
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
sort getopt() option lists and switch statements; patch by Josiah Frentsos
- Commit:
22ec3416ba9ee6c4c58dbc55e16d40157ed8e5f7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix off_t type mismatch in gotd
see e082ed67; ok stsp@
- Commit:
1c28a36116110db5de40e6edf09887651f3ca37b
- From:
- Omar Polo <op@omarpolo.com>
- 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:
5326bd73c63d9b453093bf46a5a514283348d0ec
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add bounds check when reading a delta offset from a packed object
ok stsp@
- Commit:
82031ac84c8cf40b9d7373d07cf94423b8a7bf22
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing `goto done;' on error path; ok stsp@
- Commit:
789899c8e706b0688fa908fd0c36a423bd8228c6
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix spelling of "FastCGI"; patch by Josiah Frentsos; ok op@
- Commit:
e082ed67081c3f126a8c83d3ea8b5b49bb576a90
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- 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:
2c75f174eaa5edecfcf15dd4e81c87a70c53b21e
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
rebase.sh: remove accidentally included absolute path to "got"
- Commit:
88dec1791eeb2f779795789b119d5bf675c24b6a
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotd(8) usage() string; patch by Josiah Frentsos