Commits
- Commit:
0617f4a52e52d3d55f13ca80981705acb84aab40
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
e25480b8d0f1a5f4e9b04988bd34901bb52f1aa1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.96
- Commit:
4ad67b987e6aa51b472d9569815181965b765ee3
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
never write accum_buf on error in got_pack_dump_delta_chain_to_file()
and also avoid to override `err' if fwrite fails.
ok millert, stsp
- Commit:
4f46fcf8880d657db0e339f7e3f0c72dc1dad27a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix use of uninitialized variable in update_blob
spotted by smatch. ok millert@
- Commit:
9f6f4b2b2a23de4b38b50c2e7e3c00ffb8e8f56e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug memory leak in got_pack_dump_delta_chain_to_file()
found by smatch. ok stsp@
- Commit:
9c57c4c6816e643da8209cd6d1b7479cd1672114
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fmt
- Commit:
2de89b6b796bcedcc9ffad40aad86ae0e3d1ebd8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
pass the argument to calloc in the right order; no-op in practice
reported by smatch.
- Commit:
7a4d2c244110a34fed1abc76faa9824c417d83dc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix logging during gotwebd shutdown
During `rcctl stop gotwebd' the sockets process gets a SIGTERM and
dies, and this makes the parent process assume it exited abnormally.
Instead, catch SIGINT and SIGTERM and exit gracefully.
Issue reported by xs on IRC.
ok jamsek
- Commit:
53f578a6d94eeb340775f5e05c24fb9a5df33236
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: fix colour of target lines in dark mode
reported by xs on IRC, thanks!
- Commit:
75986fe9c4c033eb0f72c9d59e320f7208c445c2
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Test log -b <path> traversing a merge commit.
This tests for the bug fixed by c8255edc. ok stsp@
- Commit:
bae38d30ef50432e0083cb668dcb58e416fa70ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
handle merge commits that are unrelated to requested changed path history
Problem found and fix tested by James Cook.
- Commit:
2698e19876c3e5680cbec8b2267b360d2cf080ac
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: CI: update FreeBSD image
Bump the FreeBSD image used on Cirrus-CI to FreeBSD-13-2
- Commit:
815470d403e59ff4438e21bc01b4c4b4aac3b579
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug some fd leaks in the fdopen{,dir} error paths
There's also a memory leak fixed. ok stsp@
- Commit:
098056c9af1a2a51aeabb65765cdce5ffc5f1021
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style: no-op change in practice
change so it matches the style used in the rest of the tree.
ok stsp
- Commit:
5bb151602f7bbbdda1d76e528186ff4de4060b7c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove stray abort() call; ok stsp
- Commit:
04ddbc75ae91738a071c04bb2f2d6c9ff4dac225
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove unneded wbuf->fd = -1
There's no need to set the fd to -1 on ibufs created with imsg_create(3),
and it was probably never needed.
- Commit:
3d97effaa4fe16c79f725bf260f06220e62e5c6a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
convert to use imsg_get_fd()
While here also fix a fd leak in got-read-pack. We were dup'ing
imsg.fd without closing imsg.fd later; instead just use imsg_get_fd()
to extract the file descriptor.
Tested by falsifian and Kyle Ackerman, thanks!
'go ahead' stsp@
- Commit:
83985e6a8ae699605976783dc7e854050f1bd79f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: try to improve copy-paste from BLOB pages
This moves the space inside the line anchor and makes it non-selectable,
so that when copy-pasting, only the content of line lines is actually
copied.
At the moment, this seems to behave slightly incorrectly in firefox
which inserts a double line break due to the presence of unselectable
elements inside the selection. Hopefully it will be fixed, chromium
behaves fine.
It also still works decently on text-browsers.
ok stsp@
- Commit:
f03e50d6fa7d457cde6feabb23a528f11bb45461
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: guard against missig folder and file parameter in BLOB and BLAME
ok stsp
- Commit:
99e30d93bfe048c40e277fed11e065fdb420d51f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow remotes without urls in git config in gotd
This is b624328edd but for the code used by gotd. ok stsp@
- Commit:
2eb6139c99c62e54720d434e6ab75a5b3b82c57b
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow remotes without urls in git config
Also, add tests.
This change lets got and related tools work when the git config
file has "remote" sections without urls, like this one in one of
my git-annex git repositories:
[remote "h0-rsync"]
annex-rsyncurl = (some url)
annex-uuid = (some uuid)
skipFetchAll = true
Running tog and many got commands there would previously result in:
$ tog
got-read-gitconfig: gitconfig syntax error
tog: gitconfig syntax error
The change to got-read-gitconfig.c is by stsp@, with ok from op@
(and now me). Tests ok stsp@.
- Commit:
ceda7883426ddd62fbad61fd7b4855f18b7244ad
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix one error being ignored in got_privsep_recv_gitconfig_remotes
- Commit:
1d84e08292747f0be91c166aaf820a3f0e87325d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got.1: use typewriter-style quoting in got.conf author example
Otherwise copy/pasting from the man page to got.conf produces syntax errors.
Noticed by mlarkin@
- Commit:
f46da2e2c90f543ad25f6f27279cedcdb4703e43
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: move got_comat header include
- Commit:
3bb9eb8b6af322c1fa4de61ab5e59b4efb865c65
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: compat: update imsg
Update imsg from libutils via OpenBSD. Needed for some imsg->fd
handling.