summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-01-27 07:35:29 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-27 16:28:18 -0800
commit4a1b13a3972efb0cf90143ebba88e309af2f41be (patch)
treed9f7b048594a1a5ecf11cb4f5b271bd7e61ebb82
parentparse-options: allow ll_callback with OPTION_CALLBACK (diff)
downloadtgif-4a1b13a3972efb0cf90143ebba88e309af2f41be.tar.xz
diff.h: keep forward struct declarations sorted
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--diff.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/diff.h b/diff.h
index b512d0477a..c872a41344 100644
--- a/diff.h
+++ b/diff.h
@@ -9,16 +9,16 @@
#include "object.h"
#include "oidset.h"
-struct rev_info;
+struct combine_diff_path;
+struct commit;
+struct diff_filespec;
struct diff_options;
struct diff_queue_struct;
-struct strbuf;
-struct diff_filespec;
-struct userdiff_driver;
struct oid_array;
-struct commit;
-struct combine_diff_path;
struct repository;
+struct rev_info;
+struct strbuf;
+struct userdiff_driver;
typedef int (*pathchange_fn_t)(struct diff_options *options,
struct combine_diff_path *path);