diff options
author | Brandon Williams <bmwill@google.com> | 2016-12-19 19:25:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-20 21:26:34 +0100 |
commit | 6c656c3fe4ba13cdf03ed85c059690653fd376cb (patch) | |
tree | 92d27092205999d2661e981ac6bce78daeea6bec /submodule.h | |
parent | transport: reformat flag #defines to be more readable (diff) | |
download | git-6c656c3fe4ba13cdf03ed85c059690653fd376cb.tar.xz git-6c656c3fe4ba13cdf03ed85c059690653fd376cb.zip |
submodules: add RECURSE_SUBMODULES_ONLY value
Add the `RECURSE_SUBMODULES_ONLY` enum value to submodule.h. This enum
value will be used in a later patch to push to indicate that only
submodules should be pushed, while the superproject should remain
unpushed.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r-- | submodule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/submodule.h b/submodule.h index 23d76682b1..4a83a4c8df 100644 --- a/submodule.h +++ b/submodule.h @@ -6,6 +6,7 @@ struct argv_array; struct sha1_array; enum { + RECURSE_SUBMODULES_ONLY = -5, RECURSE_SUBMODULES_CHECK = -4, RECURSE_SUBMODULES_ERROR = -3, RECURSE_SUBMODULES_NONE = -2, |