doc/pretty-formats: explain shortening of %gd
commitd38c7b2c2ce0116215eb05e11d442e9d03b887f4
authorJeff King <peff@peff.net>
Fri, 22 Jul 2016 19:51:41 +0000 (22 15:51 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Jul 2016 20:47:33 +0000 (22 13:47 -0700)
tree4d919ce6e2f91a163b5adf9139d6f6ab2115e68a
parent522259dc3adf49b59d76ee046a2d1361b171e32f
doc/pretty-formats: explain shortening of %gd

The actual shortening rules aren't that interesting and
probably not worth getting into (I gloss over them here as
"shortened for human readability"). But the fact that %gD
shows whatever you gave on the command line is subtle and
worth mentioning. Since most people will feed a shortened
refname in the first place, it otherwise makes it hard to
understand the difference between the two.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt