Fix a bunch of pointer declarations (codestyle)
Essentially; s/type* /type */ as per the coding guidelines. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
75b44066f3
commit
4b25d091ba
@ -334,7 +334,7 @@ int cmd_describe(int argc, const char **argv, const char *prefix)
|
||||
die("--long is incompatible with --abbrev=0");
|
||||
|
||||
if (contains) {
|
||||
const char **args = xmalloc((7 + argc) * sizeof(char*));
|
||||
const char **args = xmalloc((7 + argc) * sizeof(char *));
|
||||
int i = 0;
|
||||
args[i++] = "name-rev";
|
||||
args[i++] = "--name-only";
|
||||
@ -349,7 +349,7 @@ int cmd_describe(int argc, const char **argv, const char *prefix)
|
||||
args[i++] = s;
|
||||
}
|
||||
}
|
||||
memcpy(args + i, argv, argc * sizeof(char*));
|
||||
memcpy(args + i, argv, argc * sizeof(char *));
|
||||
args[i + argc] = NULL;
|
||||
return cmd_name_rev(i + argc, args, prefix);
|
||||
}
|
||||
|
Reference in New Issue
Block a user