1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05: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 Rename module: middleware -> context 2016-03-11 11:56:52 -05:00
commit.go Diff patch (#3345) 2016-07-30 23:02:22 +08:00
download.go Set utf-8 charset for text files when serving raw content (#2898) 2016-04-20 19:38:11 -04:00
http.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
issue.go routers/repo/issue: remove redundant format string 2016-07-26 18:42:18 +08:00
pull.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
release.go routers/repo/release: Use correct branch reference (#3330) 2016-07-27 16:57:32 +08:00
repo.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
setting.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
view.go Use struct for UI settings 2016-07-24 00:23:54 +08:00
webhook.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
wiki.go Do not show filename not have suffifx .md 2016-07-01 15:34:03 +08:00