Merge branch 'pb/submodule-recurse-mode-enum'
Small code clean-up. * pb/submodule-recurse-mode-enum: submodule.h: use a named enum for RECURSE_SUBMODULES_*
This commit is contained in:
commit
ee0241bd22
@ -38,7 +38,7 @@ struct submodule {
|
||||
const char *path;
|
||||
const char *name;
|
||||
const char *url;
|
||||
int fetch_recurse;
|
||||
enum submodule_recurse_mode fetch_recurse;
|
||||
const char *ignore;
|
||||
const char *branch;
|
||||
struct submodule_update_strategy update_strategy;
|
||||
|
@ -13,7 +13,7 @@ struct repository;
|
||||
struct string_list;
|
||||
struct strbuf;
|
||||
|
||||
enum {
|
||||
enum submodule_recurse_mode {
|
||||
RECURSE_SUBMODULES_ONLY = -5,
|
||||
RECURSE_SUBMODULES_CHECK = -4,
|
||||
RECURSE_SUBMODULES_ERROR = -3,
|
||||
|
Loading…
Reference in New Issue
Block a user