{"thread":{"id":"38159","subject":"http.proxy seems to not be propagated on `submodule update`","startedAt":"2014-12-10T17:05:46Z","lastAt":"2014-12-10T17:05:46Z","messageCount":1,"participants":["Chris Down"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"253511","messageId":"20141210170546.GA50294@chrisdown.name","threadId":"38159","inReplyTo":null,"subject":"http.proxy seems to not be propagated on `submodule update`","fromName":"Chris Down","fromEmail":"chris@chrisdown.name","sentAt":"2014-12-10T17:05:46Z","receivedAt":"2014-12-10T17:05:46Z","isPatch":false,"sender":{"key":"chris@chrisdown.name","avatar":"https://avatars.githubusercontent.com/u/660663?v=4"},"body":"Hello,\n\nI'm trying to recursively update submodules in a repo on a server that \nrequires a proxy to access the internet.\n\nI typically pass http.proxy with -c to tell git about the proxy, but \nwith `submodule update`, it seems the argument isn't propagated and thus \nresults in the process sitting doing nothing when it tries to connect.\n\nIs this expected behaviour?\n\n    cdown@dev023:dotfiles:linux$ GIT_TRACE=2 git -c http.proxy=fwdproxy.any:8080 submodule update --init --recursive\n    trace: exec: 'git-submodule' 'update' '--init' '--recursive'\n    trace: run_command: 'git-submodule' 'update' '--init' '--recursive'\n    trace: built-in: git 'rev-parse' '--git-dir'\n    trace: built-in: git 'rev-parse' '--show-cdup'\n    trace: built-in: git 'rev-parse' '-q' '--git-dir'\n    trace: built-in: git 'rev-parse' '--sq-quote' '--init'\n    trace: built-in: git 'rev-parse' '--sq-quote' '--recursive'\n    trace: built-in: git 'ls-files' '--error-unmatch' '--stage' '--'\n    trace: built-in: git 'config' '-f' '.gitmodules' '--get-regexp' '^submodule\\..*\\.path$'\n    trace: built-in: git 'config' 'submodule..vim/bundle/auto-save.url'\n    trace: built-in: git 'config' '-f' '.gitmodules' 'submodule..vim/bundle/auto-save.update'\n    trace: built-in: git 'config' '-f' '.gitmodules' '--get-regexp' '^submodule\\..*\\.path$'\n    trace: built-in: git 'config' 'submodule..vim/bundle/ctrlp.url'\n    trace: built-in: git 'config' '-f' '.gitmodules' 'submodule..vim/bundle/ctrlp.update'\n    trace: built-in: git 'config' '-f' '.gitmodules' '--get-regexp' '^submodule\\..*\\.path$'\n    trace: built-in: git 'config' 'submodule..vim/bundle/easymotion.url'\n    trace: built-in: git 'config' '-f' '.gitmodules' 'submodule..vim/bundle/easymotion.update'\n    trace: built-in: git 'config' '-f' '.gitmodules' '--get-regexp' '^submodule\\..*\\.path$'\n    trace: built-in: git 'config' 'submodule..vim/bundle/fugitive.url'\n    trace: built-in: git 'config' '-f' '.gitmodules' 'submodule..vim/bundle/fugitive.update'\n    trace: built-in: git 'config' '-f' '.gitmodules' '--get-regexp' '^submodule\\..*\\.path$'\n    trace: built-in: git 'config' 'submodule..vim/bundle/markdown.url'\n    trace: built-in: git 'config' '-f' '.gitmodules' 'submodule..vim/bundle/markdown.update'\n    trace: built-in: git 'config' '-f' '.gitmodules' '--get-regexp' '^submodule\\..*\\.path$'\n    trace: built-in: git 'config' 'submodule..vim/bundle/pathogen.url'\n    trace: built-in: git 'config' '-f' '.gitmodules' 'submodule..vim/bundle/pathogen.update'\n    trace: built-in: git 'config' '-f' '.gitmodules' '--get-regexp' '^submodule\\..*\\.path$'\n    trace: built-in: git 'config' 'submodule..vim/bundle/supertab.url'\n    trace: built-in: git 'config' '-f' '.gitmodules' 'submodule..vim/bundle/supertab.update'\n    trace: built-in: git 'ls-files' '--error-unmatch' '--stage' '--'\n    trace: built-in: git 'config' '-f' '.gitmodules' '--get-regexp' '^submodule\\..*\\.path$'\n    trace: built-in: git 'config' 'submodule..vim/bundle/auto-save.url'\n    trace: built-in: git 'config' 'submodule..vim/bundle/auto-save.update'\n    trace: built-in: git 'rev-parse' '--git-dir'\n    trace: built-in: git 'rev-parse' '--show-toplevel'\n    trace: built-in: git 'rev-parse' '--show-toplevel'\n    trace: built-in: git 'rev-parse' '--local-env-vars'\n    trace: built-in: git 'config' 'core.worktree' '../../../../../.vim/bundle/auto-save'\n    trace: built-in: git 'rev-parse' '--local-env-vars'\n    trace: built-in: git 'fetch'\n    trace: run_command: 'git-remote-https' 'origin' 'https://github.com/907th/vim-auto-save.git'\n    ^C\n    cdown@dev023:dotfiles:linux$ git --version\n    git version 1.8.1\n\nThanks,\n\nChris\n"}]}