Commits
- Commit:
21615bb29b88b51d50b4e6ba7839751a79c6ae09
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
update EWAH todo item
- Commit:
34475e584aea630b61e819769a6fbae0e26588b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add todo item for ewah bitmaps
- Commit:
28dfdaf275fe68efe88c33a705735910223bd21f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use a topological commit graph for the ancestry check in 'got send'
Fixes spurious "branch on server has a different ancestry" errors from
'got send' when the repository history contains merge commits.
- Commit:
c256bb30533620d9a40360677d71dd1de453d38a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
e2f7c5de0456b30e6f295dafea6fc893e2646794
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.104
- Commit:
2e5668be75f03af89a77f15de20436536b7fe09a
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
3a99077b873324bfbccce16bd985dc6b12aa4e93
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.104
- Commit:
6ddb5901d160201fffde89a37085637a9789452b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: fix out of bound access while handling the config
For the first 13 iterations of the loop we read behind the start of
the array. Instead of just adding a range check, rewrite the code to
split the loop in two so it's easier to follow.
Reported by Timo Myyrä
ok stsp@
- Commit:
e1d6c2b511cd22a5ef00c93a3deee9274643a1c6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ensure that meta->dtab gets freed whenever we clear a meta entry
- Commit:
b143701e30e72529b2b0aed4991214b3054108db
- From:
- Kyle Ackerman <kackerman0102@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
free leaked `got_delta_table` entries
The first `nmeta - max_base_candidates` were not freed in `got_pack_create`.
Patch by Kyle Ackerman
ok op@
- Commit:
087855b83c297a28d10affc24cb2cb72e7b7515f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
revert part of my previous commit which caused unstage.sh test failures
Some parts of the code rely on staged_blob_id being NULL in certain
cases. Restore this behaviour while keeping the segfault bug fixed.
- Commit:
af0328d61e5353fc867c1731a5dcb969f805aaba
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix a crash when unstaging a file which has been removed from disk
reported by Johannes Thyssen Tishman
- Commit:
ad4a7050395834da81cd5e4715df04ebd5f06b6f
- From:
- Kyle Ackerman <kackerman0102@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug a memory leak in got_privsep_recv_send_remote_ref
We didn't always call imsg_free(); while here also fix the `default`
branch so it actually errors on unexpected messages.
Diff from Kyle Ackerman with tweaks from tb@
- Commit:
61800f5902cab09a880d4a23f072f3a1a010662f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug an object leak introduced in my tagged-tag packing fix
- Commit:
fc1e772f390da687796abaf781743cb6f6e63068
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove a todo item that's done
- Commit:
28a5e8a2773338dd831d61aeafa5d279417be5b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix pack file creation in the presence of tagged tag objects
If a repository contains a tag that tags another tag we could fail
with a "bad object data" error while creating pack files because
the packed-object-enumeration code assumed that only commits get
tagged, trying to parse the tagged tag object as if it were a commit.
This issue affected 'got send' and 'gotadmin pack'.
There is probably more work to do here because other weird cases are
known to exist in the wild, such as git.git's refs/tags/junio-gpg-pub
which tags a blob.
Problem with 'got send' reported by jrick@
- Commit:
3e6e13b22e6744ac9ba40feadac972d441b7e6c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
prevent tog segfault upon unexpected object type in ref list view
If an unexpected object type is found while resolving a reference
in the ref view, have tog exit with an "unknown object type" error
instead of crashing.
Found while playing with a repo which contains tags that tag tags.
- Commit:
856eeb981b56bc60553350302b84c28a7dceadf7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a todo item
- Commit:
aec950736a0f20c8417ce255ac1b937f67e20a5c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix incorrect error code raised from diff_modified_blob()
- Commit:
ddbb3188dfcc3d488f561df80ff17b4783b00dd1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make got_object_open_loose_fd() return NO_OBJ error upon ENOENT
Some callers were manually converting from ENOENT to NO_OBJ.
Checking errno becomes increasingly unreliable the further up the
call-chain we return to. Let's return NO_OBJ directly at the spot
where the original error condition is detected.
- Commit:
961964db5e0e6f4f1568b633d83807af65c922d5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
trailing whitespace; from man -Tlint
- Commit:
a18d66510bf87c86e74854eb4a4543b8ce8c03bf
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd.conf: document macro syntax, stealing from gotwebd
- Commit:
82fb769c61e5d3d84df5fa95cd9998051044edb8
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
83604bb52f95d07de45d1d41dd5cb41cbf905a08
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.103
- Commit:
851f7c92c73b922e7e43e38d287351ac3c2bb788
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use _POSIX_HOST_NAME_MAX instead of HOST_NAME_MAX
this is to help -portable. Some systems don't define HOST_NAME_MAX
at all, and assume instead that code will use sysctl(_SC_HOST_NAME_MAX)
with a VLA or a dynamic allocation, which is completely backward
and useless. So, use the _POSIX hammer on this one too.
it's dirty, but it's better to strive to avoid gratious -portable
changes.
reported and discussed with Thomas Adam.