Issue #17132 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Feedback

As I have never used git submodule, I can't get what "target thats inside a=
 submodule" means.
Could you explain how you set up it?

`.git` file/directory doesn't exist in submodule?

----------------------------------------
Bug #17132: vcs.rb doesn't detect git submodules as vcs
https://bugs.ruby-lang.org/issues/17132#change-87286

* Author: Thaodan (Bj=F6rn Bidar)
* Status: Feedback
* Priority: Normal
* ruby -v: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Mostly a followup of #12239 as this was already about a similar use case.
When I run make-snapshot with a srcdir as target thats inside a submodule i=
t doesn't detect it as vcs.

My command line and the output:
`~/dev/sailfish/jolla/pkgs/mer_core/ruby/ruby/:./tool/make-snapshot  -srcdi=
r=3D../$PWD snapshot
Traceback (most recent call last):
        1: from ./tool/make-snapshot:584:in `<main>'
/home/bidar/dev/sailfish/jolla/pkgs/mer_core/ruby/ruby/tool/lib/vcs.rb:152:=
in `detect': does not seem to be under a vcs: ..//home/bidar/dev/sailfish/j=
olla/pkgs/mer_core/ruby/ruby (VCS::NotFoundError)
`



-- =

https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=3Dunsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>