mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
range-diff: fix function parameter indentation
Fix the indentation of the function parameters for a couple of functions, to match the style in the rest of the file. Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
ef283b3699
commit
1ca6922598
@ -148,7 +148,7 @@ static int read_patches(const char *range, struct string_list *list)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int patch_util_cmp(const void *dummy, const struct patch_util *a,
|
static int patch_util_cmp(const void *dummy, const struct patch_util *a,
|
||||||
const struct patch_util *b, const char *keydata)
|
const struct patch_util *b, const char *keydata)
|
||||||
{
|
{
|
||||||
return strcmp(a->diff, keydata ? keydata : b->diff);
|
return strcmp(a->diff, keydata ? keydata : b->diff);
|
||||||
}
|
}
|
||||||
@ -373,7 +373,7 @@ static struct diff_filespec *get_filespec(const char *name, const char *p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void patch_diff(const char *a, const char *b,
|
static void patch_diff(const char *a, const char *b,
|
||||||
struct diff_options *diffopt)
|
struct diff_options *diffopt)
|
||||||
{
|
{
|
||||||
diff_queue(&diff_queued_diff,
|
diff_queue(&diff_queued_diff,
|
||||||
get_filespec("a", a), get_filespec("b", b));
|
get_filespec("a", a), get_filespec("b", b));
|
||||||
|
Loading…
Reference in New Issue
Block a user