2009-10-19 14:38:32 +02:00
|
|
|
#ifndef SUBMODULE_H
|
|
|
|
#define SUBMODULE_H
|
|
|
|
|
2010-06-25 16:56:47 +02:00
|
|
|
struct diff_options;
|
|
|
|
|
2010-08-06 00:39:25 +02:00
|
|
|
void set_diffopt_flags_from_submodule_config(struct diff_options *diffopt,
|
|
|
|
const char *path);
|
2010-08-06 00:40:48 +02:00
|
|
|
void gitmodules_config();
|
2010-08-06 00:39:25 +02:00
|
|
|
int parse_submodule_config_option(const char *var, const char *value);
|
2010-06-25 16:56:47 +02:00
|
|
|
void handle_ignore_submodules_arg(struct diff_options *diffopt, const char *);
|
2009-10-19 14:38:32 +02:00
|
|
|
void show_submodule_summary(FILE *f, const char *path,
|
|
|
|
unsigned char one[20], unsigned char two[20],
|
2010-01-24 15:09:00 +01:00
|
|
|
unsigned dirty_submodule,
|
2009-10-19 14:38:32 +02:00
|
|
|
const char *del, const char *add, const char *reset);
|
2010-03-13 23:00:27 +01:00
|
|
|
unsigned is_submodule_modified(const char *path, int ignore_untracked);
|
2009-10-19 14:38:32 +02:00
|
|
|
|
|
|
|
#endif
|