From ef34d3486758e906eeb9de52805aeccb8a68a4b7 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sun, 23 Oct 2022 02:24:19 -0400 Subject: xrevbump: various improvements - commit all tracked files in srcpkgs/$pkgname/ instead of just template - don't increment revision if the user has already done it - this also handles cases where committing fails, which now prints a message (two failure modes I have encountered: commit signing fails, pre-commit hook fails (I run `xlint` in one)) - allow addition of flags to the `git commit` invocation with `xrevbump MESSAGE TEMPLATES... -- COMMIT_ARGS` - use more bashisms to make things a bit neater - update manpage/usage --- xtools.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xtools.1') diff --git a/xtools.1 b/xtools.1 index 55af53e..e8cc882 100644 --- a/xtools.1 +++ b/xtools.1 @@ -188,8 +188,10 @@ query remote repos .El .It Nm xrecent Op Ar repourl | arch .Nd list packages in repo ordered by build date -.It Nm xrevbump Ar message Ar templates ... -.Nd increase template revision and commit +.It Nm xrevbump Ar message Ar templates ... Op Ar -- git commit options +.Nd increase template revision and commit. Use +.Sq Cm \&- +to read templates from stdin. .It Nm xrevshlib Ar package .Nd list packages shlib-dependent on package or its subpackages .It Nm xrs Ar pattern -- cgit 1.4.1