Submodules: Add the new "ignore" config option for diff and status
[git/git.git] / submodule.h
CommitLineData
752c0c24
JS
1#ifndef SUBMODULE_H
2#define SUBMODULE_H
3
46a958b3
JL
4struct diff_options;
5
aee9c7d6
JL
6void set_diffopt_flags_from_submodule_config(struct diff_options *diffopt,
7 const char *path);
8int parse_submodule_config_option(const char *var, const char *value);
46a958b3 9void handle_ignore_submodules_arg(struct diff_options *diffopt, const char *);
752c0c24
JS
10void show_submodule_summary(FILE *f, const char *path,
11 unsigned char one[20], unsigned char two[20],
721ceec1 12 unsigned dirty_submodule,
752c0c24 13 const char *del, const char *add, const char *reset);
3bfc4504 14unsigned is_submodule_modified(const char *path, int ignore_untracked);
752c0c24
JS
15
16#endif