Thread (1 message) 1 message, 1 author, 2017-11-08

Re: [PATCH v1 4/8] commit: move print_commit_summary() to libgit

From: Junio C Hamano <hidden>
Date: 2017-11-08 01:04:33

Phillip Wood [off-list ref] writes:
On 07/11/17 03:38, Junio C Hamano wrote:
quoted
Phillip Wood [off-list ref] writes:
quoted
From: Phillip Wood <redacted>

Move print_commit_summary() from builtin/commit.c to sequencer.c so it
can be shared with other commands. The function is modified by
changing the last argument to a flag so callers can specify whether
they want to show the author date in addition to specifying if this is
an initial commit.
A movement of a long function like this one really is easier if you
did not make any other unnecessary change in the same patch and then
made the change as a follow-up.
I'm not sure what you mean by unnecessary, the original code called a
file-local function author_date_is_interesting().
Yes, sorry, I missed the fact that author_date_is_interesting() is
not moving (and it is not moving for obvious reasons).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help