mirror of
https://github.com/git/git.git
synced 2024-05-19 15:16:08 +02:00
Merge branch 'pb/submodule-recurse-mode-enum' into next
Small code clean-up. * pb/submodule-recurse-mode-enum: submodule.h: use a named enum for RECURSE_SUBMODULES_*
This commit is contained in:
commit
1164a4c9b7
|
@ -38,7 +38,7 @@ struct submodule {
|
||||||
const char *path;
|
const char *path;
|
||||||
const char *name;
|
const char *name;
|
||||||
const char *url;
|
const char *url;
|
||||||
int fetch_recurse;
|
enum submodule_recurse_mode fetch_recurse;
|
||||||
const char *ignore;
|
const char *ignore;
|
||||||
const char *branch;
|
const char *branch;
|
||||||
struct submodule_update_strategy update_strategy;
|
struct submodule_update_strategy update_strategy;
|
||||||
|
|
|
@ -13,7 +13,7 @@ struct repository;
|
||||||
struct string_list;
|
struct string_list;
|
||||||
struct strbuf;
|
struct strbuf;
|
||||||
|
|
||||||
enum {
|
enum submodule_recurse_mode {
|
||||||
RECURSE_SUBMODULES_ONLY = -5,
|
RECURSE_SUBMODULES_ONLY = -5,
|
||||||
RECURSE_SUBMODULES_CHECK = -4,
|
RECURSE_SUBMODULES_CHECK = -4,
|
||||||
RECURSE_SUBMODULES_ERROR = -3,
|
RECURSE_SUBMODULES_ERROR = -3,
|
||||||
|
|
Loading…
Reference in New Issue