mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Bug fix
This commit is contained in:
		@@ -160,7 +160,7 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		ctx.Data["BranchName"] = ctx.Repo.BranchName
 | 
							ctx.Data["BranchName"] = ctx.Repo.BranchName
 | 
				
			||||||
		ctx.Data["Branches"], _ = models.GetBranches(ctx.User.Name, ctx.Repo.Repository.Name)
 | 
							ctx.Data["Branches"], _ = models.GetBranches(user.Name, repoName)
 | 
				
			||||||
		ctx.Data["CommitId"] = ctx.Repo.CommitId
 | 
							ctx.Data["CommitId"] = ctx.Repo.CommitId
 | 
				
			||||||
		ctx.Data["IsRepositoryWatching"] = ctx.Repo.IsWatching
 | 
							ctx.Data["IsRepositoryWatching"] = ctx.Repo.IsWatching
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user