X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=submodule.h;h=6fd3bb40702e5fb905eb4ae519d487e3c9f40073;hb=452c6d506b1a6dcf24d4ceaa592afc39c1c1a60e;hp=233696555e913d20b6a6c7c21942586c93595541;hpb=fe7e37235dd9b36402afeccb24bbced933e847d7;p=git.git diff --git a/submodule.h b/submodule.h index 233696555..6fd3bb407 100644 --- a/submodule.h +++ b/submodule.h @@ -1,10 +1,13 @@ #ifndef SUBMODULE_H #define SUBMODULE_H +struct diff_options; + +void handle_ignore_submodules_arg(struct diff_options *diffopt, const char *); void show_submodule_summary(FILE *f, const char *path, unsigned char one[20], unsigned char two[20], unsigned dirty_submodule, const char *del, const char *add, const char *reset); -int is_submodule_modified(const char *path); +unsigned is_submodule_modified(const char *path, int ignore_untracked); #endif