"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "services/pull/pull.go" between
gitea-1.13.1.tar.gz and gitea-1.13.2.tar.gz

About: Gitea allows to set up a self-hosted code hosting Git service (a fork of Gogs).

pull.go  (gitea-1.13.1):pull.go  (gitea-1.13.2)
skipping to change at line 57 skipping to change at line 57
} }
} }
pr.Issue = pull pr.Issue = pull
pull.PullRequest = pr pull.PullRequest = pr
if err := PushToBaseRepo(pr); err != nil { if err := PushToBaseRepo(pr); err != nil {
return err return err
} }
notification.NotifyNewPullRequest(pr) mentions, err := pull.FindAndUpdateIssueMentions(models.DefaultDBContext(
), pull.Poster, pull.Content)
if err != nil {
return err
}
notification.NotifyNewPullRequest(pr, mentions)
// add first push codes comment // add first push codes comment
baseGitRepo, err := git.OpenRepository(pr.BaseRepo.RepoPath()) baseGitRepo, err := git.OpenRepository(pr.BaseRepo.RepoPath())
if err != nil { if err != nil {
return err return err
} }
defer baseGitRepo.Close() defer baseGitRepo.Close()
compareInfo, err := baseGitRepo.GetCompareInfo(pr.BaseRepo.RepoPath(), compareInfo, err := baseGitRepo.GetCompareInfo(pr.BaseRepo.RepoPath(),
git.BranchPrefix+pr.BaseBranch, pr.GetGitRefName()) git.BranchPrefix+pr.BaseBranch, pr.GetGitRefName())
 End of changes. 1 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)