author | Jeff King <peff@peff.net> | |
Mon, 9 May 2011 13:34:02 +0000 (09:34 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 9 May 2011 22:27:32 +0000 (15:27 -0700) | ||
commit | e86226e34097ce22ed78a9e759564110f141dda0 | |
tree | ad1241d90e0848b824202133807fe51715f80d4f | tree | snapshot |
parent | 838466b8f7f9e8752a14114d5c4b1d685e0c6c25 | commit | diff |
blame: refactor porcelain output
This is in preparation for adding more porcelain output
options. The three changes are:
1. emit_porcelain now receives the format option flags
2. emit_one_suspect_detail takes an optional "repeat"
parameter to suppress the "show only once" behavior
3. The code for emitting porcelain suspect is factored
into its own function for repeatability.
There should be no functional changes.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This is in preparation for adding more porcelain output
options. The three changes are:
1. emit_porcelain now receives the format option flags
2. emit_one_suspect_detail takes an optional "repeat"
parameter to suppress the "show only once" behavior
3. The code for emitting porcelain suspect is factored
into its own function for repeatability.
There should be no functional changes.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c | diff | blob | history |