1 /* Copyright (c) 2006-2014 Jonas Fonseca <jonas.fonseca@gmail.com>
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public License as
5 * published by the Free Software Foundation; either version 2 of
6 * the License, or (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
20 char head
[SIZEOF_REF
];
21 char remote
[SIZEOF_REF
];
22 char cdup
[SIZEOF_STR
];
23 char prefix
[SIZEOF_STR
];
24 char git_dir
[SIZEOF_STR
];
25 bool is_inside_work_tree
;
28 extern struct repo_info repo
;
30 int load_repo_info(void);
38 bool index_diff(struct index_diff
*diff
, bool untracked
, bool count_all
);
39 bool update_index(void);
42 /* vim: set ts=8 sw=8 noexpandtab: */