Created attachment 273117 [details, diff] patch, works fine for me git(1).eclass is able to store repository under any name through usage of EGIT_PROJECT variable, this feature is used in many ebuilds. Some ebuilds (net-im/psi for example) need to clone several git urls which are not submodules, in git(1).eclass it works fine with git_fetch function, but again not possible in git-2.eclass. Now without this features it is hard to port ebuilds with complex src_unpack to git-2.eclass, only simple can be migrated painless. Attached patch solves this problems.
Created attachment 273239 [details, diff] patch, works fine for me updated patch, fixed submodules support.
Both items on this bug should be fixed. As i needed multiple clones in the libreoffice ebuild.