[ 
https://issues.apache.org/jira/browse/CAMEL-15051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-15051.
--------------------------------------
    Resolution: Fixed

> Camel GIT component does not check out the branch specified in branchName 
> when cloning
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15051
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15051
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-git
>    Affects Versions: 3.2.0
>         Environment: This was tested on Windows 10 Pro with Camel 3.2.0 
> (Spring Boot 2.2.6) against GitHub.
>            Reporter: John Yin
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 3.4.0
>
>
> When cloning a repository from a server (tested with GitHub) with the 
> following Camel endpoint/options:
> git:///F:\localpath?operation=clone&remotePath=[https://github.com/xxxxxxxx/cust-ir.git&username=xxxxxxxx&password=yyyyyyyy&remoteName=origin&branchName=branch_uat&synchronous=true]
> The remote repository was correctly cloned to the localpath, but the branch 
> specified is not created locally and not checked out.  The localpath working 
> copy is the master branch.  Since Camel GIT does not have a checkout command, 
> one would have to manually checkout the branch thus defeat the purpose of 
> using the component.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to