vcsh-modules filepath ignored by git
pale3 opened this issue · comments
I have jessie, and archlinux distros. Issue started to happen few days ago when I was trying to
initiate submodules in my vcsh local branch on archlinux. Git is not using aynmore
gitmodules.d/repo
for module file path
and always uses ~/.gitmodules
As a difference I can show you using GIT_TRACE
on both systems
Archlinux: (v2.7.0)
19:41:37.601626 git.c:561 trace: exec: 'git-submodule' 'init'
19:41:37.601657 run-command.c:343 trace: run_command: 'git-submodule' 'init'
19:41:37.613752 git.c:348 trace: built-in: git 'rev-parse' '--git-dir'
19:41:37.615454 git.c:348 trace: built-in: git 'rev-parse' '--git-path' 'objects'
19:41:37.617941 git.c:348 trace: built-in: git 'rev-parse' '-q' '--git-dir'
19:41:37.620442 git.c:348 trace: built-in: git 'rev-parse' '--show-prefix'
19:41:37.621460 git.c:348 trace: built-in: git 'rev-parse' '--show-toplevel'
19:41:37.625335 git.c:348 trace: built-in: git 'submodule--helper' 'list' '--prefix' ''
19:41:37.626373 git.c:348 trace: built-in: git 'submodule--helper' 'name' '.zsh/plugins/zsh-syntax-highlighting'
19:41:37.627796 git.c:348 trace: built-in: git 'config' 'submodule..zsh/plugins/zsh-syntax-highlighting.url'
19:41:37.628793 git.c:348 trace: built-in: git 'config' '-f' '.gitmodules' 'submodule..zsh/plugins/zsh-syntax-highlighting.url'
No url found for submodule path '.zsh/plugins/zsh-syntax-highlighting' in .gitmodules
Debian:(v2.1.4)
19:20:07.927361 git.c:554 trace: exec: 'git-submodule' 'init'
19:20:07.927411 run-command.c:341 trace: run_command: 'git-submodule' 'init'
19:20:07.942558 git.c:349 trace: built-in: git 'rev-parse' '--git-dir'
19:20:07.946015 git.c:349 trace: built-in: git 'rev-parse' '-q' '--git-dir'
19:20:07.948446 git.c:349 trace: built-in: git 'rev-parse' '--show-prefix'
19:20:07.949488 git.c:349 trace: built-in: git 'rev-parse' '--show-toplevel'
19:20:07.953970 git.c:349 trace: built-in: git 'rev-parse' '--sq' '--prefix' '' '--'
19:20:07.955162 git.c:349 trace: built-in: git 'ls-files' '-z' '--error-unmatch' '--stage' '--'
19:20:07.958394 git.c:349 trace: built-in: git 'config' '-f' '.gitmodules.d/zsh' '--get-regexp' '^submodule\..*\.path$'
19:20:07.960468 git.c:349 trace: built-in: git 'config' 'submodule..zsh/plugins/zsh-syntax-highlighting.url'
19:20:07.961952 git.c:349 trace: built-in: git 'config' '-f' '.gitmodules.d/zsh' 'submodule..zsh/plugins/zsh-syntax-highlighting.upda
As we can see in archlinux there is few diff in output. Executing on archlinux within repo,
git config -f .gitmodules.d/zsh 'submodule..zsh/plugins/zsh-syntax-highlighting.update'
doesn't help.
My point here is that I am not able to use vcsh-modules
anymore! Aynone know what is going on here?
Hi,
is this still open? If yes, what vcsh version are you using, any other Git versions which are affected/unaffected?
It's fixed! Details can be found here: lierdakil/vcsh-modules#5!