Closed ReeseWang closed 1 year ago
Git's protocol.file.allow is changed to be "user" by default from git v2.38.1, see https://lore.kernel.org/lkml/xmqq4jw1uku5.fsf@gitster.g/
protocol.file.allow
which results in fatal: transport 'file' not allowed when initializing submodules. The added -c protocol.file.allow=always option fixes this.
fatal: transport 'file' not allowed
-c protocol.file.allow=always
@ReeseWang sweet this is great, thx for the PR!
Git's
protocol.file.allow
is changed to be "user" by default from git v2.38.1, see https://lore.kernel.org/lkml/xmqq4jw1uku5.fsf@gitster.g/which results in
fatal: transport 'file' not allowed
when initializing submodules. The added-c protocol.file.allow=always
option fixes this.