Skip to content

Commit b33f74c

Browse files
committed
Updates
1 parent b68f0d9 commit b33f74c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

project/Dependencies.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import sbt._
22

33
object Dependencies {
44

5-
val jgit = "org.eclipse.jgit" % "org.eclipse.jgit" % "6.4.0.202211300538-r"
5+
val jgit = "org.eclipse.jgit" % "org.eclipse.jgit" % "6.7.0.202309050840-r"
66

7-
val scalatest = "org.scalatest" %% "scalatest" % "3.2.14"
7+
val scalatest = "org.scalatest" %% "scalatest" % "3.2.15"
88

99
val madgagCompress = "com.madgag" % "util-compress" % "1.35"
1010

11-
val guava = Seq("com.google.guava" % "guava" % "31.1-jre", "com.google.code.findbugs" % "jsr305" % "2.0.1")
11+
val guava = Seq("com.google.guava" % "guava" % "31.1-jre", "com.google.code.findbugs" % "jsr305" % "3.0.2")
1212

1313
}

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.8.0
1+
sbt.version=1.9.7

project/plugins.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0")
22

3-
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
3+
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1")
44

5-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.15")
5+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21")

scala-git/src/main/scala/com/madgag/git/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ package object git {
9494
(revWalk, revWalk.getObjectReader)
9595
}
9696

97-
def nonSymbolicRefs = repo.getAllRefs.asScala.values.filterNot(_.isSymbolic)
97+
def nonSymbolicRefs = repo.getRefDatabase.getRefs.asScala.filterNot(_.isSymbolic).toSeq
9898

9999
}
100100

@@ -172,7 +172,7 @@ package object git {
172172
implicit class RichRevObject(revObject: RevObject) {
173173
lazy val typeString = Constants.typeString(revObject.getType)
174174

175-
def toTree(implicit revWalk: RevWalk): Option[RevTree] = treeOrBlobPointedToBy(revObject).right.toOption
175+
def toTree(implicit revWalk: RevWalk): Option[RevTree] = treeOrBlobPointedToBy(revObject).toOption
176176
}
177177

178178
val FileModeNames = Map(

0 commit comments

Comments
 (0)