Commits
- 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
- Commit:
cfbfa60cc722e92165914178267754f432b46ccb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make 'gotadmin load' always read data from standard input
This provides better symmetry with 'gotadmin dump', and allows us to pass
the list of references as command line arguments, replacing the -b option.
The -l option now takes an argument which specifies the bundle file rather
than requiring data to be fed on stdin with -l which feels awkward.
ok op@
- Commit:
b7eff1274c82d60d1eeca924bb9c5dcb951a781c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable cvg
- Commit:
8b8a0f1e248092016e0e09a755b2ae750551d5d4
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable 'gotadmin load'
Add new .c files to gotadmin's Makefile, and add the standard
got_compat.h wrapper.
- Commit:
8d6abbb25ed5e71ba5785e31dccf6ca4252b839f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
refer to the dump stream's format as "bundle" rather than "dump"
- Commit:
c4515df2561be621b6a9f2b6cb5776ef29fb349f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix copy-paste error in gotadmin.1 load section
- Commit:
164fb715d8228aa782c5b229f5a29fa94b00d8d0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
unfold a line
- Commit:
d959535215ce640ec4c4cede5623409121f37947
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotadmin load: don't add a newline when listing refs
the newline is only needed after the progress output, which is not
present in the 'listing refs' case.
- Commit:
90afc9f356259c35a85d03c4e7e65561436d2d7a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add an initial implementation of gotadmin load
it is intended to be the counterpart of `gotadmin dump' and, just
like it, there's planned support for handling fast-import stream.
At the moment it only deals with git bundles.
ok stsp