Browse Source

Add missing patch conflit pattern

pull/2528/head
Unknwon 9 years ago
parent
commit
a47baa1b7a
  1. 2
      README.md
  2. 2
      gogs.go
  3. 1
      models/pull.go
  4. 2
      templates/.VERSION

2
README.md

@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true) ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
##### Current version: 0.8.27 ##### Current version: 0.8.28
| Web | UI | Preview | | Web | UI | Preview |
|:-------------:|:-------:|:-------:| |:-------------:|:-------:|:-------:|

2
gogs.go

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"
) )
const APP_VER = "0.8.27.0202" const APP_VER = "0.8.28.0203"
func init() { func init() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())

1
models/pull.go

@ -256,6 +256,7 @@ var patchConflicts = []string{
"patch does not apply", "patch does not apply",
"already exists in working directory", "already exists in working directory",
"unrecognized input", "unrecognized input",
"error:",
} }
// testPatch checks if patch can be merged to base repository without conflit. // testPatch checks if patch can be merged to base repository without conflit.

2
templates/.VERSION

@ -1 +1 @@
0.8.27.0202 0.8.28.0203
Loading…
Cancel
Save