Skip to content

Commit 478636d

Browse files
authored
Support GitBucket 4.40.0 (#105)
1 parent 6536d2c commit 478636d

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.22.0"
44
scalaVersion := "2.13.12"
5-
gitbucketVersion := "4.39.0"
5+
gitbucketVersion := "4.40.0"
66

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ trait GistControllerBase extends ControllerBase {
114114
val repoName = StringUtil.md5(userName + " " + datetime(new java.util.Date()))
115115
val gitdir = new File(GistRepoDir, userName + "/" + repoName)
116116
gitdir.mkdirs()
117-
JGitUtil.initRepository(gitdir)
117+
JGitUtil.initRepository(gitdir, "master")
118118

119119
// Insert record
120120
registerGist(

0 commit comments

Comments
 (0)