This block at the top of rev_info is "Starting list" and repo is
obviously not one. Move it to the bottom since it's not that important
to stay on top.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclo...@gmail.com>
---
 revision.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/revision.h b/revision.h
index 01e4c42274..71e724c59c 100644
--- a/revision.h
+++ b/revision.h
@@ -74,7 +74,6 @@ struct rev_info {
        /* Starting list */
        struct commit_list *commits;
        struct object_array pending;
-       struct repository *repo;
 
        /* Parents of shown commits */
        struct object_array boundary_commits;
@@ -278,6 +277,8 @@ struct rev_info {
        struct revision_sources *sources;
 
        struct topo_walk_info *topo_walk_info;
+
+       struct repository *repo;
 };
 
 int ref_excluded(struct string_list *, const char *path);
-- 
2.21.0.1141.gd54ac2cb17

Reply via email to