aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2021-03-20 11:20:52 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2021-03-23 11:01:53 +0100
commit18c735c474579d013d7e8deb6570b51ec26af087 (patch)
tree7eb4c4b4bb46e734a47fa4bb4ec4fe970e28d44e /org.eclipse.jgit/src
parentb08c599fb8f7eae831e3b0fd1f9cfd907db4b098 (diff)
downloadjgit-18c735c474579d013d7e8deb6570b51ec26af087.tar.gz
jgit-18c735c474579d013d7e8deb6570b51ec26af087.zip
CommitCommand: fix formatting
Change-Id: I5efd1ffee4ebb08b3b5c27e29162493615727840 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
index 4291968b4f..259a3d2696 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
@@ -178,8 +178,7 @@ public class CommitCommand extends GitCommand<RevCommit> {
if (all && !repo.isBare()) {
try (Git git = new Git(repo)) {
- git.add()
- .addFilepattern(".") //$NON-NLS-1$
+ git.add().addFilepattern(".") //$NON-NLS-1$
.setUpdate(true).call();
} catch (NoFilepatternException e) {
// should really not happen