You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2016/11/21 11:58:58 UTC
[jira] [Resolved] (CAMEL-10500) Camel-Git: Add allowEmpty commits
option
[ https://issues.apache.org/jira/browse/CAMEL-10500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-10500.
--------------------------------------
Resolution: Fixed
> Camel-Git: Add allowEmpty commits option
> -----------------------------------------
>
> Key: CAMEL-10500
> URL: https://issues.apache.org/jira/browse/CAMEL-10500
> Project: Camel
> Issue Type: Improvement
> Components: camel-git
> Affects Versions: 2.18.0
> Reporter: Olivier Antibi
> Assignee: Andrea Cosentino
> Priority: Trivial
> Fix For: 2.19.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> By default, JGit behaves differently than native git allowing empty commits. This first change is to add a new option to the GitEndpoint to be able to turn that option to false. I let it default to "true" in a first move to have backward compatibility but suggest we could default to "false" to match native git behaviour (git commit --allow-empty)
> This will raise an exception for empty commits, may be a silent mode to log warn would be a better option rather than doing error handling in camel.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)