Commits
- Commit:
9f625d2da2debfec13bfb4db5c53892f6b405755
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
apply brevity tweaks for newly added keyword docs
- Commit:
3795e2b655387a472683ffdeb63c6ff53b9b1e14
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: enable more commands to accept commit keywords
More work adding commit keyword support to the blame, cat, ref, tag, and tree
commands. With this, all Got commands that take a <commit> option argument
or operand now support keywords. Regress flub saved by op!
fixes + ok op@
- Commit:
a290e4b40845ee5d251cdf5e4d9b31693f37ea49
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reword commit keyword argument descriptions in got.1 for brevity
- Commit:
482b0b83833675d8c750a996c3a9db1fb99e1e8d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reorder some paragraphs in got.1 to make default behaviour easier to spot
- Commit:
fb8851205d3a6b7f0c457b2091c3b335d0f7e4e3
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
expand support for commit keywords to more got commands
Add the ability to use keywords in the backout, branch, checkout, cherrypick,
and patch commands. Includes some basic regress tests for the new commands,
and also some more contrived test cases for 'got log -c[:]keyword[:(+|-)[N]]'.
ok stsp
- Commit:
481d9ea65dc2884473253a84cee23e8a562ac3b9
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add keyword.c
- Commit:
1b9900744f5cac2de071add4a1b678cf36713b63
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid HEAD when talking about a work tree; HEAD is specific to the repository
ok jamsek
- Commit:
953c67e2c21eafa2c682fe83f77cfabd955358f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
move discussion of keyword arguments to -c into separate paragraphs
- Commit:
9139e0049a78ea0a4d285e4e5e4874893c0b9a09
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
implement support for keywords as got <commit> arguments
This begins enabling the use of keywords in got wherever commit ids or
references are used, with more work intended to expand support across all
such instances (e.g., branch, checkout, etc.), and add more keywords.
The keywords ":base" and ":head" can be passed to 'got {diff,log,update} -c'
commands as a substitute for the corresponding commit hash id. Keywords and
references can also be modified by appending a ':+' or ':-' and an optional
integer N to specify by first parent traversal the Nth generation descendant
or antecedent, respectively. If N is omitted, a '1' is implicitly appended.
tweaks + ok op and stsp
- Commit:
5a44570065e95758417914d5380e371907987be5
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
cvg: restore accidentally deleted "tag" and "add" man page bits
ok jrick
- Commit:
bccae03fdbe2f0902e2447972ef9f63ffef57c3c
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
abort histedit if the user quits the editor without saving the script
Also document that the commit/import/tag operations are aborted when
the user fails to save the log message from the invoked editor.
ok jamsek stsp
- Commit:
5541355f708ebb0d883dc03a3a2a29563a6df2c9
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
always report stat() error with path
ok stsp
- Commit:
c68571e2c407e42a8da06182caf11ae7c49b509e
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: fix double-free in blame view error path
open_diff_view() has already called view_close() on error.
Patch by Josiah Frentsos.
- Commit:
b40793acff6223f04e5b673fa5c6d488f7b617ea
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
always report stat() error with path
ok stsp
- Commit:
59530ea7aaf19f809c3dbcec5e2d9e039a54349f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
prevent useless EEXIST errors filling up the global custom error array
While checking out files, do not attempt to create every directory
that exists in the repository tree without paying consideration to
their existence on disk.
Instead, let functions which add files worry about creating any missing
parent directories. This shakes out two other bugs in broken symlink
installation code which ended up passing an absolute path to
add_dir_on_disk() and forgot to report progress in an unreachable code
path that is now getting used.
Problem reported by + ok naddy@
- Commit:
f7abcac262b10952aa804b9a77dde3c728250227
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix typo in a comment
- Commit:
609a74001549bfeeaa6e87286d7ca76722d3dd12
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug got_object_id leak in cmd_log()
backport of b161263abf48e69eb1f05028b633808dfe337357 to cvg
- Commit:
ff8a85aa6ea1444ad8a60d93ebc05d68c614d9d5
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug got_object_id leak in cmd_log()
ok stsp@
- Commit:
faa3086db292eb93914697ff2f78785fd8793af1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
dc607f079dc09cab9843a918024c3771f5214f05
- From:
- Omar Polo <op@omarpolo.com>
- Date:
support landlock ABI v2 and v3
Add the right #ifdef for backward-compatibility and block REFER and
TRUNCATE as well, otherwise they're silently and implicitly allowed.
The funny part is that LANDLOCK_ACCESS_FS_TRUNCATE doesn't even need
write permissions.
ok thomas
- Commit:
3530f6ee16aaaddef48c026e2dab926bd7f2ef36
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove needless newline escaping
- Commit:
b2287bd22d374e7f6175af081104e50ac09129d3
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: cvg: remove whitespace in Makefile
Remove trailing whitespace from Makefile.am
- Commit:
344dbe901614b71528f967b3f1307f15240d10a9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotadmin cleanup: don't delete pack files that are too young
similar to what we do for loose objects, avoid deleting pack files
that were created "too soon" unless -a is given. This prevents
races when gotadmin load, got fetch or gotd are installing a new
pack file and a concurrent gotadmin clean attempts to remove it.
ok stsp
- Commit:
fddec46f3a57acbaaeb97e07c6c02625a40564aa
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
purge_redundant_pack(): don't special-case .pack or .idx
leftover, the error handling of unlink() a couple of lines below used
to carry a similar special-casing but was dropped; drop it here too.
- Commit:
6322ae439e52def47d663fb644a96236c81ad92d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
take reachability in consideration when cleaning redundant packfiles
This wraps the cleaning up of loose objects and redundant pack files
under a new functions, making the _prepare() and _complete() functions
unnecessary. It walks the reachable commits unconditionally since
that information is always needed and adapt how we purge loose
objects after this change.
The progress function is changed too and we log `ncommits' first,
followed by the number of loose objects, followed by the rest.
Pack files are now considered redundant when all their objects are
provided by a bigger pack or are unreachable.
ok stsp