]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/pretty-formats.txt
pretty: add "%aL" etc. to show local-part of email addresses
[thirdparty/git.git] / Documentation / pretty-formats.txt
index 079598307a3897d913de030a4737ce2e43c1810d..31c6e8d2b86ad6b7a4db1059fe24516ad63c71e7 100644 (file)
@@ -163,6 +163,9 @@ The placeholders are:
 '%ae':: author email
 '%aE':: author email (respecting .mailmap, see linkgit:git-shortlog[1]
        or linkgit:git-blame[1])
+'%al':: author email local-part (the part before the '@' sign)
+'%aL':: author local-part (see '%al') respecting .mailmap, see
+       linkgit:git-shortlog[1] or linkgit:git-blame[1])
 '%ad':: author date (format respects --date= option)
 '%aD':: author date, RFC2822 style
 '%ar':: author date, relative
@@ -175,6 +178,9 @@ The placeholders are:
 '%ce':: committer email
 '%cE':: committer email (respecting .mailmap, see
        linkgit:git-shortlog[1] or linkgit:git-blame[1])
+'%cl':: author email local-part (the part before the '@' sign)
+'%cL':: author local-part (see '%cl') respecting .mailmap, see
+       linkgit:git-shortlog[1] or linkgit:git-blame[1])
 '%cd':: committer date (format respects --date= option)
 '%cD':: committer date, RFC2822 style
 '%cr':: committer date, relative
@@ -208,7 +214,7 @@ endif::git-rev-list[]
 '%GP':: show the fingerprint of the primary key whose subkey was used
        to sign a signed commit
 '%gD':: reflog selector, e.g., `refs/stash@{1}` or `refs/stash@{2
-       minutes ago`}; the format follows the rules described for the
+       minutes ago}`; the format follows the rules described for the
        `-g` option. The portion before the `@` is the refname as
        given on the command line (so `git log -g refs/heads/master`
        would yield `refs/heads/master@{0}`).