Commits
- Commit:
cb6c7c3e617fa0f872e35f0d34f1bc86fb338f86
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.102
- Commit:
36ce9a3b89600065d961a96efa17f51c331043be
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
zap redundant free
This pointer is owned by the caller and is freed in error paths via
close_diff_view()
ok stsp@
- Commit:
95767463b683bcf751069a3b8b01342bc9d06575
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
ec662aa6797ca02807b55b58bd88c69f02ec4538
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.102
- Commit:
0c4ad42c0a906040e1d0b12ad3f08287006529e5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got_worktree_prepare_path_info -> got_worktree_path_info_prepare
- Commit:
fc231b0cbd4f9b7b4821015419df075df8f074d4
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got patch: lock the worktree
Since we may update the fileindex, the worktree must be preemptively
locked exclusively. It's an old thing, been there since the start.
ok stsp@
- Commit:
97bcb0b4a3c4503d5e035bac764bfbd0f156c8c6
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename got_fileindex_version() to got_fileindex_get_version()
- Commit:
2b46355293364ffdc9152e59723533a465c5daff
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename got_worktree_fileindex_version() to got_worktree_get_fileindex_version()
- Commit:
0d486432bb90c030ac51cbc80a2ef2d69263e98f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make info commands show the work tree format version, too
ok op@
- Commit:
088ea0a1b34b1a9d038a2d0d0e48bb70cd9bcc04
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got/cvg info: print work tree version
This exends got_worktree_path_info() to resemble the "transaction"-like
interface we have for rebase, patch etc. There's a prepare() routine
that returns the fileindex, and locks the worktree, and a complete()
function to free the fileinedx and release the lock. This way, we
can open only once the fileindex in cmd_info() and have the chance
to ask for its version.
ok stsp@
- Commit:
021918ff7717955820540e4a6b6433bebbcbe9b2
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
cmd_info: use got_error_path instead of _fmt
No functional change intended.
- Commit:
37ee718b316ee5003e14168354db4fbac065996b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style/fmt
- Commit:
bdf3f05ed09d141be02261c391d9e0a71c631e74
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rename idlen to digest_{,string_}len
In my early sha256 work I've used `idlen' to parametrize the digest
length, but that's ambiguous since it could refer either to the
digest length (in binary form) or the digest _string_ length
(hexadecimal).
So, change the few offenders to either digest_len or digest_string_len,
which is a "naming scheme" I've already used in the rest of the
tree.
ok stsp@
- Commit:
57cafc2c8d2cc3945d19d99980c58a2b332db572
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
skip over lonely packidx when searching for objects
This changes the search_packidx, match_packed_object and get_packfile_info
routines to skip over lonely packidx. These seems to be generated
occasionally by 'git fetch' over HTTP/S.
Instead of dealing with this situation in gotwebd, which is fragile,
attempt to do it at the lib/ level.
`gotadmin cleanup' will still complain about these lonely packidx
and `gotadmin cleanup -p' is still required.
discussed with and ok stsp@
- Commit:
abda67d236225bf3dbd811ef21bbb4ee5cc776cf
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix signedness issue in got_pack_index() after sha256 work
Later we try to see to -digest_len from the end of the file, and
this on 32bit arches has some issues: size_t is 32bit and being
unsigned becomes a huge number that then is casted to a off_t
(signed, and larger) and makes us seek very, very far from the end
of file. Then, read(2) returns zero because we're at end of file
and trying to send packs to gotd fails with "I/O error". This was
introduced when SHA1_DIGEST_LENGTH was converted to digest_len.
ok jamsek, stsp
- Commit:
ebe4b21049f73b66d75d89f509ee7abf517c0d51
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
include minimum length when trimming object IDs in regress
- Commit:
9ca4ae7cc53a2209cc77cb16b81545fd15dcc192
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got_packidx_open: got_error_fmt -> got_error_path
Results in the very same error but takes less characters to build.
No functional change intended.
- Commit:
e09adfa5ab72336ded39d57588f963d262893b0e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
revert got_object_qid_alloc_partial calloc change
This reverts parts of be12ea2c34 and 4239df3cca. The fileindex and
worktree code has been fixed and this workaround is no longer needed.
ok stsp@
- Commit:
24b89c8a5f92f406df9f46c98dffa35168061d28
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress/tog: enable and run it in sha256 mode too
with a fix from naddy, ok jamsek stsp@
- Commit:
a3dba022b7dc3df27072cd723c1c15ea2c03de85
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: regress test for new log view 'm'ark commit keymap
ok stsp@
- Commit:
e02b19c81d76f7b7764add345d87332e1691d0b3
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use local temporary convenience pointer missed in 28c5a8280b
ok stsp@
- Commit:
a3e45a89bb612430144db6128552dd438a11320d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Mark Jamsek belongs on got author list, too; oversight on my part
- Commit:
b2f6caa5addb92770c1d90fecb6843fa77411206
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
run authors list through sort(1)
- Commit:
551b74ba335b7a079aa9be5a82289a61e3131d85
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
mention gotd in authors section
- Commit:
19e2f0deeaa3234e21dde6d29dec1e1ca07b29b3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync got.1 authors list with people appearing in commit log and copyright lines