[jbosstools-issues] [JBoss JIRA] (JBIDE-12459) git repository for imported project is not detected correctly if it is in the parent folder

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Aug 22 12:14:15 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713114#comment-12713114 ] 

Andre Dietisheim commented on JBIDE-12459:
------------------------------------------

There is a slight error though:

The import does not recognize that the individual projects are shared within a git repo in the parent folder. The importer then creates a new git repo in the project-folder (you then end up having a new, additional git-repo nested in the project folder).

*EGitUtils.isSharedWithGit(IProject)* is actually only testing for the Eclipse team provider to be connected with the given project:
{code}
RepositoryProvider provider = RepositoryProvider.getProvider(project);
return provider != null
	&& EGIT_TEAM_PROVIDER_ID.equals(provider.getID());

{code}

                
> git repository for imported project is not detected correctly if it is in the parent folder
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12459
>                 URL: https://issues.jboss.org/browse/JBIDE-12459
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 3.3.0.Final
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.2, 3.4.0.M1
>
>
> When the application creation wizard tries to merge into an existing project, it does not detect the git repository correctly if the given project is within a folder of a git repo.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list