diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-11-01 20:36:12 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-11-04 20:56:18 +0100 |
| commit | 9b14290c97df62f6e7da91c90b8bd7bb6a4bec42 (patch) | |
| tree | 3c7541850da68ae9022706137b44cf1a67e0ad6b /README.md | |
| parent | 663a4fda12ab008a052c459902436d80c090fc4c (diff) | |
Add ‘upstream’ revision expression
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -70,7 +70,13 @@ To run jobs for commits that are in local `<branch>`, but not yet in its upstrea minici run --since-upstream=<branch> ``` -For current branch, the name can be omitted: +or equivalently: +``` +minici run '<branch>..upstream(<branch>)' +``` + +This is the default action the `run` command will perform without any +arguments, using the current branch as `<branch>` when executed as: ``` minici run ``` @@ -132,6 +138,8 @@ Where `<commit-expr>` can be: * `lasttag(<pattern>)`, which from all the tags matching `<pattern>`, selects the last created one (as given by the `tagger` date in tag object); +* `upstream(<branch>)` refers to the upstream (remote) branch of the given `<branch>`; + * `watch(<commit-expr>)` is analogous to `watch` for `<range-expr>`. And `<pattern>` is a shell glob pattern, as implemented |