mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Batch mirror fix
This commit is contained in:
1 parent
1badb2bbcc
commit
59d0e73c35
13 files changed
+68
-80
No files matched your search
@@ -26,11 +26,14 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler {
|
||||
var displayBare bool
|
||||
|
||||
if len(args) >= 1 {
|
||||
validBranch = args[0]
|
||||
// Note: argument has wrong value in Go1.3 martini.
|
||||
// validBranch = args[0]
|
||||
validBranch = true
|
||||
}
|
||||
|
||||
if len(args) >= 2 {
|
||||
displayBare = args[1]
|
||||
// displayBare = args[1]
|
||||
displayBare = true
|
||||
}
|
||||
|
||||
var (
|
||||
|
||||
Reference in new issue
Block a user