Skip to content

Commit

Permalink
#1922 Pull request fail to merge with BIN
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed Nov 17, 2015
1 parent 54fd4cc commit e06558e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -5,7 +5,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra

![](public/img/gogs-large-resize.png)

##### Current version: 0.7.13 Beta
##### Current version: 0.7.14 Beta

<table>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion gogs.go
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)

const APP_VER = "0.7.13.1116 Beta"
const APP_VER = "0.7.14.1116 Beta"

func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
Expand Down
1 change: 1 addition & 0 deletions models/pull.go
Expand Up @@ -260,6 +260,7 @@ func (pr *PullRequest) testPatch() (err error) {
for i := range patchConflicts {
if strings.Contains(stderr, patchConflicts[i]) {
log.Trace("PullRequest[%d].testPatch(apply): has conflit", pr.ID)
fmt.Println(stderr)
pr.Status = PULL_REQUEST_STATUS_CONFLICT
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion modules/git/repo_pull.go
Expand Up @@ -89,7 +89,7 @@ func (repo *Repository) GetPullRequestInfo(basePath, baseBranch, headBranch stri

// GetPatch generates and returns patch data between given branches.
func (repo *Repository) GetPatch(mergeBase, headBranch string) ([]byte, error) {
stdout, stderr, err := com.ExecCmdDirBytes(repo.Path, "git", "diff", "-p", mergeBase, headBranch)
stdout, stderr, err := com.ExecCmdDirBytes(repo.Path, "git", "diff", "-p", "--binary", mergeBase, headBranch)
if err != nil {
return nil, concatenateError(err, string(stderr))
}
Expand Down
2 changes: 1 addition & 1 deletion templates/.VERSION
@@ -1 +1 @@
0.7.13.1116 Beta
0.7.14.1116 Beta

0 comments on commit e06558e

Please sign in to comment.