aboutsummaryrefslogtreecommitdiff
path: root/Documentation/pretty-formats.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-30 11:59:08 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-30 15:58:32 -0800
commit7cbcf4d5579bdc5d9f8a4bf3f37d3390fc6e2572 (patch)
treecc59576b721617ee30e804ff3634e462d7b0123c /Documentation/pretty-formats.txt
parent99e09cce8d0eace48209483b07e2a9d99542bd04 (diff)
downloadgit-7cbcf4d5579bdc5d9f8a4bf3f37d3390fc6e2572.tar.gz
git-7cbcf4d5579bdc5d9f8a4bf3f37d3390fc6e2572.tar.xz
Move commit reencoding parameter parsing to revision.c
This way, git-rev-list and git-diff-tree with --pretty can use it. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/pretty-formats.txt')
-rw-r--r--Documentation/pretty-formats.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index 996f62890..fb0b0b958 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -76,3 +76,10 @@ displayed in full, regardless of whether --abbrev or
--no-abbrev are used, and 'parents' information show the
true parent commits, without taking grafts nor history
simplification into account.
+
+--encoding[=<encoding>]::
+ The commit objects record the encoding used for the log message
+ in their encoding header; this option can be used to tell the
+ command to re-code the commit log message in the encoding
+ preferred by the user. For non plumbing commands this
+ defaults to UTF-8.