]> source.dussan.org Git - jgit.git/commitdiff
CommitCommand: fix formatting 41/178141/2
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 20 Mar 2021 10:20:52 +0000 (11:20 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 23 Mar 2021 10:01:53 +0000 (11:01 +0100)
Change-Id: I5efd1ffee4ebb08b3b5c27e29162493615727840
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java

index 4291968b4f66c4eea10906711e95d9e31ecef497..259a3d26965833f2a06b0f5954fa3151283f81bd 100644 (file)
@@ -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