]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-for-each-ref.txt
ref-filter: implement an `align` atom
[thirdparty/git.git] / Documentation / git-for-each-ref.txt
index e49d5782fc6f82289d0b71c720110b11e38cb8b0..3a271bf8afaa08e67bf1f6f3e8ac41be13184c28 100644 (file)
@@ -127,6 +127,17 @@ color::
        Change output color.  Followed by `:<colorname>`, where names
        are described in `color.branch.*`.
 
+align::
+       Left-, middle-, or right-align the content between
+       %(align:...) and %(end). The "align:" is followed by `<width>`
+       and `<position>` in any order separated by a comma, where the
+       `<position>` is either left, right or middle, default being
+       left and `<width>` is the total length of the content with
+       alignment. If the contents length is more than the width then
+       no alignment is performed. If used with '--quote' everything
+       in between %(align:...) and %(end) is quoted, but if nested
+       then only the topmost level performs quoting.
+
 In addition to the above, for commit and tag objects, the header
 field names (`tree`, `parent`, `object`, `type`, and `tag`) can
 be used to specify the value in the header field.