45113: vcs_info docs: Clarify documentation of the %p/%u/%a patch-format expandos.

This commit is contained in:
Daniel Shahaf 2019-12-21 15:58:27 +00:00
parent 86db36ab70
commit 6e5bba8cba
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2019-12-22 Daniel Shahaf <danielsh@apache.org>
* 45113: Doc/Zsh/contrib.yo: vcs_info docs: Clarify documentation
of the %p/%u/%a patch-format expandos.
* 45114: Functions/VCS_Info/VCS_INFO_patch2subject: vcs_info
quilt: Improve support for svn-style patch headers.

View file

@ -1343,11 +1343,11 @@ endsitem()
In tt(patch-format) and tt(nopatch-format) these replacements are done:
startsitem()
sitem(tt(%p))(The name of the top-most applied patch (tt(applied-string)).)
sitem(tt(%u))(The number of unapplied patches (tt(unapplied-string)).)
sitem(tt(%p))(The name of the top-most applied patch; may be overridden by the tt(applied-string) hook.)
sitem(tt(%u))(The number of unapplied patches; may be overridden by the tt(unapplied-string) hook.)
sitem(tt(%n))(The number of applied patches.)
sitem(tt(%c))(The number of unapplied patches.)
sitem(tt(%a))(The number of all patches.)
sitem(tt(%a))(The number of all patches (tt(%a = %n + %c)).)
sitem(tt(%g))(The names of active tt(mq) guards (tt(hg) backend).)
sitem(tt(%G))(The number of active tt(mq) guards (tt(hg) backend).)
endsitem()