1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-04 05:11:35 +02:00
gitea/routers/repo
Dennis Chen dfab54d5a2 Diff patch (#3345)
* Add support for .diff and .patch

Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641

* models: git_diff: various fixes

* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
2016-07-30 23:02:22 +08:00
..
branch.go
commit.go Diff patch (#3345) 2016-07-30 23:02:22 +08:00
download.go
http.go
issue.go routers/repo/issue: remove redundant format string 2016-07-26 18:42:18 +08:00
pull.go
release.go routers/repo/release: Use correct branch reference (#3330) 2016-07-27 16:57:32 +08:00
repo.go
setting.go
view.go
webhook.go
wiki.go