summaryrefslogtreecommitdiffstats
path: root/pretty-formats.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-29 16:11:28 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-29 16:11:28 -0700
commit00b9f1ab5e3c136decf3ac122f050212ce18f996 (patch)
tree8b6c9bfe33227af5beb7fbf0bc6761c0d5cc74bb /pretty-formats.txt
parentb6a6d9280dc94653cb8e72740e28c680fb2ef6d3 (diff)
downloadgit-htmldocs-00b9f1ab5e3c136decf3ac122f050212ce18f996.tar.gz
Autogenerated HTML docs for v2.1.1-332-g0bf7d
Diffstat (limited to 'pretty-formats.txt')
-rw-r--r--pretty-formats.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/pretty-formats.txt b/pretty-formats.txt
index 6c3072374..eecc39dec 100644
--- a/pretty-formats.txt
+++ b/pretty-formats.txt
@@ -130,6 +130,7 @@ The placeholders are:
- '%ci': committer date, ISO 8601-like format
- '%cI': committer date, strict ISO 8601 format
- '%d': ref names, like the --decorate option of linkgit:git-log[1]
+- '%D': ref names without the " (", ")" wrapping.
- '%e': encoding
- '%s': subject
- '%f': sanitized subject line, suitable for a filename
@@ -184,8 +185,9 @@ The placeholders are:
NOTE: Some placeholders may depend on other options given to the
revision traversal engine. For example, the `%g*` reflog options will
insert an empty string unless we are traversing reflog entries (e.g., by
-`git log -g`). The `%d` placeholder will use the "short" decoration
-format if `--decorate` was not already provided on the command line.
+`git log -g`). The `%d` and `%D` placeholders will use the "short"
+decoration format if `--decorate` was not already provided on the command
+line.
If you add a `+` (plus sign) after '%' of a placeholder, a line-feed
is inserted immediately before the expansion if and only if the