diff options
Diffstat (limited to 'src/submodule.h')
-rw-r--r-- | src/submodule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/submodule.h b/src/submodule.h index 053cb61e0..8199eb1da 100644 --- a/src/submodule.h +++ b/src/submodule.h @@ -119,6 +119,9 @@ enum { #define GIT_SUBMODULE_STATUS__CLEAR_INTERNAL(S) \ ((S) & ~(0xFFFFFFFFu << 20)) +/* Internal submodule check does not attempt to refresh cached data */ +bool git_submodule__is_submodule(git_repository *repo, const char *name); + /* Internal status fn returns status and optionally the various OIDs */ extern int git_submodule__status( unsigned int *out_status, |