Shanti Swarup Tunga 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:
-
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)
{
char buf[GIT_OID_HEXSZ + 1];
int i, count;
const git_signature *sig;
const char *scan, *eol;
int size=0;
git_oid_tostr
2 matches
Mail list logo