Commit e21881d1 by Carlos Martín Nieto

git_config: reorder fields according to use

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
parent dadc0158
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
#include "git2/config.h" #include "git2/config.h"
struct git_config { struct git_config {
char *file_path; git_cvar *vars;
git_cvar *vars_tail;
struct { struct {
gitfo_buf buffer; gitfo_buf buffer;
...@@ -13,8 +14,7 @@ struct git_config { ...@@ -13,8 +14,7 @@ struct git_config {
int eof; int eof;
} reader; } reader;
git_cvar *vars; char *file_path;
git_cvar *vars_tail;
}; };
struct git_cvar { struct git_cvar {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment