[
https://issues.apache.org/jira/browse/CAMEL-18656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624555#comment-17624555
]
Otavio Rodolfo Piske commented on CAMEL-18656:
----------------------------------------------
I discussed about this issue with [~gilvansfilho] and he proposed to write the
fix. I am assigning this to me so I can track and backport this.
> Camel-git always merge at master branch
> ---------------------------------------
>
> Key: CAMEL-18656
> URL: https://issues.apache.org/jira/browse/CAMEL-18656
> Project: Camel
> Issue Type: Bug
> Components: camel-git
> Affects Versions: 3.19.0
> Reporter: Gilvan Filho
> Priority: Major
>
> [Merge
> operations|[https://github.com/apache/camel/blob/main/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java#L511]]
> always is done at _master_ branch.
> Once default branch name can be whatever user needs and _master_ is being
> replaced by _main_ in many repo this could led to problems. That way
> camel-git needs to allow user especify a targetBranch and, if this are no
> set, get default branch from user configs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)