1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers
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
..
admin Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
api/v1 Added Full Name to CreateUser api call (#3333) 2016-07-27 02:43:06 +08:00
dev Rename module: middleware -> context 2016-03-11 11:56:52 -05:00
org Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
repo Diff patch (#3345) 2016-07-30 23:02:22 +08:00
user #1384 add pagination for repositories 2016-07-24 14:32:46 +08:00
home.go #1384 add pagination for repositories 2016-07-24 14:32:46 +08:00
install.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00