mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-22 00:09:47 +01:00
Remove unused function
This commit is contained in:
@@ -744,11 +744,6 @@ public final class GitUtil
|
|||||||
|
|
||||||
public static Optional<LfsPointer> getLfsPointer(org.eclipse.jgit.lib.Repository repo, String path, RevCommit commit, TreeWalk treeWalk) throws IOException {
|
public static Optional<LfsPointer> getLfsPointer(org.eclipse.jgit.lib.Repository repo, String path, RevCommit commit, TreeWalk treeWalk) throws IOException {
|
||||||
Attributes attributes = LfsFactory.getAttributesForPath(repo, path, commit);
|
Attributes attributes = LfsFactory.getAttributesForPath(repo, path, commit);
|
||||||
|
|
||||||
return getLfsPointer(repo, treeWalk, attributes);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Optional<LfsPointer> getLfsPointer(org.eclipse.jgit.lib.Repository repo, TreeWalk treeWalk, Attributes attributes) throws IOException {
|
|
||||||
ObjectId blobId = treeWalk.getObjectId(0);
|
ObjectId blobId = treeWalk.getObjectId(0);
|
||||||
return getLfsPointer(repo, blobId, attributes);
|
return getLfsPointer(repo, blobId, attributes);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user