Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t/t9136
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-09-26 22:54:13 +0300
committerJunio C Hamano <gitster@pobox.com>2017-09-27 06:22:01 +0300
commit83a17fa83b24ed713e2c2647bf89dae171971b73 (patch)
tree868127a421514c0a8b69e83e5fd12c9d349f3544 /t/t9136
parent28996cec80690d2322359d3650a57e8de6e01eb6 (diff)
t7406: submodule.<name>.update command must not be run from .gitmodules
submodule.<name>.update can be assigned an arbitrary command via setting it to "!command". When this command is found in the regular config, Git ought to just run that command instead of other update mechanisms. However if that command is just found in the .gitmodules file, it is potentially untrusted, which is why we do not run it. Add a test confirming the behavior. Suggested-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9136')
0 files changed, 0 insertions, 0 deletions