[PATCH 02/19] revision.h: move repo field down
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- May 8, 2019, 11:12 UTC
- Message-ID
- <20190508111249.15262-3-pclouds@gmail.com>
- In-Reply-To
- <20190508111249.15262-1-pclouds@gmail.com>
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 <pclouds@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