about summary refs log tree commit diff
path: root/xtools.1
diff options
context:
space:
mode:
authorclassabbyamp <void@placeviolette.net>2022-10-23 02:24:19 -0400
committerLeah Neukirchen <leah@vuxu.org>2022-10-23 21:48:35 +0200
commitef34d3486758e906eeb9de52805aeccb8a68a4b7 (patch)
tree667d58ff9ab0555673a7d84a4903d3e2635779bd /xtools.1
parent5c5aa1daa36a022a404ef9fede2ca21c628e7694 (diff)
downloadxtools-ef34d3486758e906eeb9de52805aeccb8a68a4b7.tar.gz
xtools-ef34d3486758e906eeb9de52805aeccb8a68a4b7.tar.xz
xtools-ef34d3486758e906eeb9de52805aeccb8a68a4b7.zip
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
Diffstat (limited to 'xtools.1')
-rw-r--r--xtools.16
1 files changed, 4 insertions, 2 deletions
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