File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
scala-git/src/main/scala/com/madgag/git Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ import sbt._
2
2
3
3
object Dependencies {
4
4
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"
6
6
7
- val scalatest = " org.scalatest" %% " scalatest" % " 3.2.14 "
7
+ val scalatest = " org.scalatest" %% " scalatest" % " 3.2.15 "
8
8
9
9
val madgagCompress = " com.madgag" % " util-compress" % " 1.35"
10
10
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 " )
12
12
13
13
}
Original file line number Diff line number Diff line change 1
- sbt.version =1.8.0
1
+ sbt.version =1.9.7
Original file line number Diff line number Diff line change 1
1
addSbtPlugin(" com.github.sbt" % " sbt-release" % " 1.1.0" )
2
2
3
- addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.1.2 " )
3
+ addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.2.1 " )
4
4
5
- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.15 " )
5
+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.21 " )
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ package object git {
94
94
(revWalk, revWalk.getObjectReader)
95
95
}
96
96
97
- def nonSymbolicRefs = repo.getAllRefs. asScala.values. filterNot(_.isSymbolic)
97
+ def nonSymbolicRefs = repo.getRefDatabase.getRefs. asScala.filterNot(_.isSymbolic).toSeq
98
98
99
99
}
100
100
@@ -172,7 +172,7 @@ package object git {
172
172
implicit class RichRevObject (revObject : RevObject ) {
173
173
lazy val typeString = Constants .typeString(revObject.getType)
174
174
175
- def toTree (implicit revWalk : RevWalk ): Option [RevTree ] = treeOrBlobPointedToBy(revObject).right. toOption
175
+ def toTree (implicit revWalk : RevWalk ): Option [RevTree ] = treeOrBlobPointedToBy(revObject).toOption
176
176
}
177
177
178
178
val FileModeNames = Map (
You can’t perform that action at this time.
0 commit comments