patchtrack tree

Name the git trees that check looks in.

A tree is a ref in a local repository, with a role: maintainer (a patch found there is queued), next (in-next) or mainline (merged). Give either --ref (a ref already in the repository), or --url and --branch: check --fetch then fetches the whole branch into refs/patchtrack/NAME. It never makes a shallow fetch, because a shallow history would make “not found” meaningless.

Trees can also be declared as [[trees]] in the config, which is then their source of truth (tree rm refuses them).

usage: patchtrack tree [-h] [--repo REPO] [--ref REF] [--url URL]
                       [--branch BRANCH] [--role {maintainer,next,mainline}]
                       {add,list,rm} [name]

Positional Arguments

action

Possible choices: add, list, rm

name

Named Arguments

--repo

local repository (fetches go into it)

--ref

a ref already in the repository

--url

fetch from here into refs/patchtrack/NAME (whole branch, never shallow)

--branch

the branch to fetch from –url

--role

Possible choices: maintainer, next, mainline

maintainer: queued; next: in-next; mainline: merged

Default: 'maintainer'