mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 13:35:50 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
1
src/main/resources/update/1_13.sql
Normal file
1
src/main/resources/update/1_13.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE COMMIT_LOG;
|
||||
@@ -50,6 +50,7 @@ object AutoUpdate {
|
||||
* The history of versions. A head of this sequence is the current BitBucket version.
|
||||
*/
|
||||
val versions = Seq(
|
||||
Version(1, 13),
|
||||
Version(1, 12),
|
||||
Version(1, 11),
|
||||
Version(1, 10),
|
||||
|
||||
@@ -573,7 +573,9 @@ object JGitUtil {
|
||||
/**
|
||||
* Returns all commit id in the specified repository.
|
||||
*/
|
||||
def getAllCommitIds(git: Git): Seq[String] = {
|
||||
def getAllCommitIds(git: Git): Seq[String] = if(isEmpty(git)) {
|
||||
Nil
|
||||
} else {
|
||||
val existIds = new scala.collection.mutable.ListBuffer[String]()
|
||||
val i = git.log.all.call.iterator
|
||||
while(i.hasNext){
|
||||
|
||||
Reference in New Issue
Block a user