Thread (1 message) 1 message, 1 author, 2016-06-15

Re: about Starter project;implementing log --size in the print_commit function.

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:04:17

Shanti Swarup Tunga [off-list ref] writes:
I inserted a size variable of int type and calculated size in each
cases of print_commit(). The function is

static void print_commit(git_commit *commit)
{
...
}
See Documentation/SubmittingPatches and then also CodingGuidelines

Especially, explain:

 - what does this change try to help and how?
 - why is this patch a good way to achieve that goal?
 - how the users are expected to use the new feature?

in the proposed log message, run existing tests to make sure your
change did not break the existing system, add tests to make sure
you would notice if somebody else broke the feature you are adding
in the future, and describe the new feature in the documentation.
Will that approach is going to work for the following problem.?
Was your message cut short?  We cannot read "the following" problem
here...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help