pretty: quote rfc822 specials in email addresses
[git/debian.git] / submodule.h
blob4729023aa5bbd7d7c95981b995c379407ba6423d
1 #ifndef SUBMODULE_H
2 #define SUBMODULE_H
4 struct diff_options;
6 void set_diffopt_flags_from_submodule_config(struct diff_options *diffopt,
7 const char *path);
8 int submodule_config(const char *var, const char *value, void *cb);
9 void gitmodules_config();
10 int parse_submodule_config_option(const char *var, const char *value);
11 void handle_ignore_submodules_arg(struct diff_options *diffopt, const char *);
12 void show_submodule_summary(FILE *f, const char *path,
13 unsigned char one[20], unsigned char two[20],
14 unsigned dirty_submodule,
15 const char *del, const char *add, const char *reset);
16 void set_config_fetch_recurse_submodules(int value);
17 int fetch_populated_submodules(int num_options, const char **options,
18 const char *prefix, int ignore_config,
19 int quiet);
20 unsigned is_submodule_modified(const char *path, int ignore_untracked);
21 int merge_submodule(unsigned char result[20], const char *path, const unsigned char base[20],
22 const unsigned char a[20], const unsigned char b[20]);
24 #endif