summaryrefslogtreecommitdiff
path: root/Documentation/git-format-patch.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-07-03 07:07:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-03 19:10:57 (GMT)
commit10f2fbff6859a22327d04f9eb0c1a38995ff48b1 (patch)
tree2056d663853ccf05c4a99b6952f17657f4cb3cea /Documentation/git-format-patch.txt
parent8c4e4ec3ff053331c845331645a437b01b1f0de6 (diff)
downloadgit-10f2fbff6859a22327d04f9eb0c1a38995ff48b1.zip
git-10f2fbff6859a22327d04f9eb0c1a38995ff48b1.tar.gz
git-10f2fbff6859a22327d04f9eb0c1a38995ff48b1.tar.bz2
pretty.c: drop const-ness from pretty_print_context
In the current code, callers are expected to fill in the pretty_print_context, and then the pretty.c functions simply read from it. This leaves no room for the pretty.c functions to communicate with each other by manipulating the context (e.g., data seen while printing the header may impact how we print the body). Rather than introduce a new struct to hold modifiable data, let's just drop the const-ness of the existing context struct. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-format-patch.txt')
0 files changed, 0 insertions, 0 deletions