Commits
- Commit:
8cc4eb801418181a7eddf2ad28d85b4e60661ae7
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
gotwebd: show commit id prefix on briefs page
tweak + ok op@, "seems good to me" (webpage review) stsp@
- Commit:
09d38fee11b9a19a2baef6995366389723745baa
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog: show shortened "id1 -> id2" as path in diffstat when diffing blobs
This matches the output of "got diff -d".
ok jamsek
- Commit:
78a2ad6b7632ff7b206518772a6aa2f1fcfa7f40
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: expand diffstat to all diff views
Suggested by naddy: display diffstat in diff views of arbitrary commits.
For the sake of consistency, show it in tree and blob diffs now too.
Adjust and grow regress to cover the change.
ok stsp@
- Commit:
849e5cb6301f6cbcfc5c43d068c0b7c7507c4e00
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
regress for tog diff view 'p' keymap; ok stsp@
- Commit:
bc7dcd6603946972172d2e08412488029d34759a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog diff 'p' keymap: show id prefix in diff filename
This helps identify diffs when several have been written.
Suggested by stsp on IRC.
ok stsp@
- Commit:
d6cf760a654df954418c577a08765155985c095d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move pack cache entries to front upon any access, not just when cache is full
- Commit:
e11883f02b06fcd5d68da0aa0b781f93b3e94568
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: add diff view 'p' keymap to write the diff to file
Write the current diff view to a temporary patch file in /tmp and report
the pathname to the status line.
discussed with naddy
input and ok stsp@
- Commit:
cd2a3010322415cd187fe81189a32e49cac09672
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a todo item for 'got rebase'; prompted by a question from tb@
- Commit:
e5eb6d2d0fae51188a4650e49d0ad3866d3f3fb5
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
zap redundant free
This pointer is owned by the caller and is freed in error paths via
close_diff_view()
ok stsp@
- Commit:
f1f0a7dc342e513a050fee6988a9de61769a26a1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump version number
- Commit:
350a84376bb1f7c967234fad40ae5a6a30d0ae33
- From:
- Omar Polo <op@omarpolo.com>
- Date:
CHANGES for 0.102
- Commit:
232556d55e4212db6ceba21158a3acce25c77706
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got_worktree_prepare_path_info -> got_worktree_path_info_prepare
- Commit:
ce725b8f7be2659fcbebc5ec00062bac1ca85d29
- From:
- Omar Polo <op@omarpolo.com>
- 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:
70cea17ff7df1d1c70cefb074ffba2d8749ca4a3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_fileindex_version() to got_fileindex_get_version()
- Commit:
af4ba62f1a7f283b47bd5e4a43573f550347d93b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_worktree_fileindex_version() to got_worktree_get_fileindex_version()
- Commit:
73119b9106d98ab78deb20d3c60c3d4d80ac8688
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make info commands show the work tree format version, too
ok op@
- Commit:
088a1c3b8187114bdc9d9f4ee98c2c8dceb97172
- From:
- Omar Polo <op@omarpolo.com>
- 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:
4775b069530ea249dcfbc877685bf55700ca6423
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cmd_info: use got_error_path instead of _fmt
No functional change intended.
- Commit:
6f70de963ae03e950c350d5e1e41ce4aa02c7527
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style/fmt
- Commit:
6934d8276a5597290aa75da9690021b694ce66e3
- From:
- Omar Polo <op@omarpolo.com>
- 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:
05f7204b7c26d432547753965bf1a27fb7fb2e01
- From:
- Omar Polo <op@omarpolo.com>
- 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:
5d0baf4e3f639af9dcfcde4e24f9db7aa72332c3
- From:
- Omar Polo <op@omarpolo.com>
- 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:
faf51db5e8152629d9c4aa4672b3f26e6acecf10
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
include minimum length when trimming object IDs in regress
- Commit:
62baee9a86a9325d23bf2f048d28f38b978f707d
- From:
- Omar Polo <op@omarpolo.com>
- 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:
febee0fd3632e7a5830fb9853b4ceecdebd07f68
- From:
- Omar Polo <op@omarpolo.com>
- 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@