diff options
author | Stefan Beller <sbeller@google.com> | 2016-12-08 13:03:25 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-09 14:52:57 -0800 |
commit | 89c8626557621ef000930da3c8a23fa03ad7e01a (patch) | |
tree | a144c8f2a8ccdf3ad0313a9443fdb44065fc1ca4 /git.c | |
parent | 90c0011619bd4cd4b14c366ab7a9affacb43276a (diff) | |
download | git-89c8626557621ef000930da3c8a23fa03ad7e01a.tar.gz |
submodule helper: support super prefix
Just like main commands in Git, the submodule helper needs
access to the superproject prefix. Enable this in the git.c
but have its own fuse in the helper code by having a flag to
turn on the super prefix.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -493,7 +493,7 @@ static struct cmd_struct commands[] = { { "stage", cmd_add, RUN_SETUP | NEED_WORK_TREE }, { "status", cmd_status, RUN_SETUP | NEED_WORK_TREE }, { "stripspace", cmd_stripspace }, - { "submodule--helper", cmd_submodule__helper, RUN_SETUP }, + { "submodule--helper", cmd_submodule__helper, RUN_SETUP | SUPPORT_SUPER_PREFIX}, { "symbolic-ref", cmd_symbolic_ref, RUN_SETUP }, { "tag", cmd_tag, RUN_SETUP }, { "unpack-file", cmd_unpack_file, RUN_SETUP }, |