Commit Briefs

5f2b57d4a3 Sven M. Hallberg

tog: show author ("orig") date in Diff view if different from committer date (authortime2)


7b0989c733 Sven M. Hallberg

tog log: show author dates if showing author names (@)


3b1c57a08e Sven M. Hallberg

cvg: add author_time argument to got_worktree_cvg_commit()

No functional change, but keeps the code in sync with got.


6b473a45e0 Sven M. Hallberg

got rebase: preserve author timestamps

Adds test_rebase_preserves_author_data to regress/cmdline/rebase.sh.


8cc4eb8014 Mark Jamsek

gotwebd: show commit id prefix on briefs page (main)

tweak + ok op@, "seems good to me" (webpage review) stsp@


09d38fee11 Christian Weisgerber

tog: show shortened "id1 -> id2" as path in diffstat when diffing blobs

This matches the output of "got diff -d". ok jamsek


78a2ad6b76 Mark Jamsek

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@


849e5cb630 Mark Jamsek

regress for tog diff view 'p' keymap; ok stsp@


bc7dcd6603 Mark Jamsek

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@



e11883f02b Mark Jamsek

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@



e5eb6d2d0f Mark Jamsek

zap redundant free

This pointer is owned by the caller and is freed in error paths via close_diff_view() ok stsp@


f1f0a7dc34 Omar Polo

bump version number


350a84376b Omar Polo

CHANGES for 0.102



ce725b8f7b Omar Polo

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@




73119b9106 Stefan Sperling

make info commands show the work tree format version, too

ok op@


088a1c3b81 Omar Polo

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@


4775b06953 Omar Polo

cmd_info: use got_error_path instead of _fmt

No functional change intended.


6f70de963a Omar Polo

style/fmt


6934d8276a Omar Polo

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@


05f7204b7c Omar Polo

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@