]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/pretty-encoding-doc'
authorJunio C Hamano <gitster@pobox.com>
Fri, 10 Jul 2015 21:17:53 +0000 (14:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Jul 2015 21:17:54 +0000 (14:17 -0700)
Doc update.

* jk/pretty-encoding-doc:
  docs: clarify that --encoding can produce invalid sequences

Documentation/pretty-options.txt

index 74aa01a0ec27b6cc0fbb9763b8e583a3f996da25..642af6e42684602f5465fc3c61d83ca6309b34cb 100644 (file)
@@ -37,7 +37,10 @@ people using 80-column terminals.
        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.
+       defaults to UTF-8. Note that if an object claims to be encoded
+       in `X` and we are outputting in `X`, we will output the object
+       verbatim; this means that invalid sequences in the original
+       commit may be copied to the output.
 
 --notes[=<ref>]::
        Show the notes (see linkgit:git-notes[1]) that annotate the