Skip to content

Commit 53ad3d0

Browse files
fix incompatible call on JGitUtil from 4.36.0 (#67)
1 parent e50f8aa commit 53ad3d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ organization := "io.github.gitbucket"
22
name := "gitbucket-gist-plugin"
33
version := "4.20.0"
44
scalaVersion := "2.13.5"
5-
gitbucketVersion := "4.35.3"
5+
gitbucketVersion := "4.36.0"
66

77
scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps")
88
Compile / javacOptions ++= Seq("-target", "8", "-source", "8")

src/main/scala/gitbucket/gist/controller/GistController.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ trait GistControllerBase extends ControllerBase {
9191
if(gitdir.exists){
9292
Using.resource(Git.open(gitdir)){ git =>
9393
val files: Seq[(String, JGitUtil.ContentInfo)] = JGitUtil.getFileList(git, "master", ".").map { file =>
94-
(if(isGistFile(file.name)) "" else file.name) -> JGitUtil.getContentInfo(git, file.name, file.id)
94+
(if(isGistFile(file.name)) "" else file.name) -> JGitUtil.getContentInfo(git, file.name, file.id, true)
9595
}
9696
html.edit(getGist(userName, repoName), files, None)
9797
}

0 commit comments

Comments
 (0)