Bug 540046 - Existing submodules with name different to path are ignored by UpdateCommand
Summary: Existing submodules with name different to path are ignored by UpdateCommand
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 5.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-11 08:18 EDT by Andrea Bugada CLA
Modified: 2018-10-11 08:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Bugada CLA 2018-10-11 08:18:57 EDT
Creating a submodule with --name with git client is problematic to jGit UpdateCommand that ignores the submodule. For example:

[submodule "my-name"]
  path = src/main/webapp/WEB-INF/conf/my-name
  url = ssh://myrepository

is ignored, while

[submodule "src/main/webapp/WEB-INF/conf/my-name"]
  path = src/main/webapp/WEB-INF/conf/my-name
  url = ssh://myrepository

is processed without problems.

Due to this, using custom name, Eclipse can't see the submodule.