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...