summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2021-03-20 11:19:07 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2021-03-23 11:01:52 +0100
commitb08c599fb8f7eae831e3b0fd1f9cfd907db4b098 (patch)
treeaeb5bbb23cda75aac3670dce2b77611958b3c920 /org.eclipse.jgit/src
parentf43cb3605c078d0932365c49163f5a8b799fe117 (diff)
downloadjgit-b08c599fb8f7eae831e3b0fd1f9cfd907db4b098.tar.gz
jgit-b08c599fb8f7eae831e3b0fd1f9cfd907db4b098.zip
CommitCommand: remove unncessary comment
Let the code speak for itself. Change-Id: I6a6d6c327ffac23fc607295a7f4fd3131b3d1e58 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.java1
1 files changed, 0 insertions, 1 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 51d5d382cb..4291968b4f 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
@@ -218,7 +218,6 @@ public class CommitCommand extends GitCommand<RevCommit> {
}
RevCommit revCommit;
- // lock the index
DirCache index = repo.lockDirCache();
try (ObjectInserter odi = repo.newObjectInserter()) {
if (!only.isEmpty())