summaryrefslogtreecommitdiff
path: root/range-diff.c
diff options
context:
space:
mode:
authorThomas Gummerer <t.gummerer@gmail.com>2019-07-11 16:08:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-07-11 21:29:27 (GMT)
commit1ca69225981a915b0041f74047fe554b1580da5b (patch)
treefd0a3aeb7482ef20afffc2fa8cea21b2ad3deee1 /range-diff.c
parentef283b3699f91c9138753946dd53bec55289498a (diff)
downloadgit-1ca69225981a915b0041f74047fe554b1580da5b.zip
git-1ca69225981a915b0041f74047fe554b1580da5b.tar.gz
git-1ca69225981a915b0041f74047fe554b1580da5b.tar.bz2
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>
Diffstat (limited to 'range-diff.c')
-rw-r--r--range-diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/range-diff.c b/range-diff.c
index 48b0e1b..9242b89 100644
--- a/range-diff.c
+++ b/range-diff.c
@@ -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,
- const struct patch_util *b, const char *keydata)
+ const struct patch_util *b, const char *keydata)
{
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,
- struct diff_options *diffopt)
+ struct diff_options *diffopt)
{
diff_queue(&diff_queued_diff,
get_filespec("a", a), get_filespec("b", b));