My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef283b3
)
range-diff: fix function parameter indentation
author
Thomas Gummerer
<t.gummerer@gmail.com>
Thu, 11 Jul 2019 16:08:45 +0000
(17:08 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 11 Jul 2019 21:29:27 +0000
(14:29 -0700)
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>
range-diff.c
patch
|
blob
|
history
diff --git
a/range-diff.c
b/range-diff.c
index
48b0e1b
..
9242b89
100644
(file)
--- 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));