submodule--helper: add push-check subcommand
authorBrandon Williams <bmwill@google.com>
Wed, 5 Apr 2017 17:47:18 +0000 (10:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Apr 2017 07:45:25 +0000 (00:45 -0700)
commit93481a6b89be41086997ecaf9454f0c0bf6a961e
treeaeaa83833932116fa1abfc30a129a0ff606c2139
parentc19ae47a7940428f8f3f1c49ecdb8906f03c43fa
submodule--helper: add push-check subcommand

Add the 'push-check' subcommand to submodule--helper which is used to
check if the provided remote and refspec can be used as part of a push
operation in the submodule.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c