You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 years ago
..
branch.go Rename module: middleware -> context 8 years ago
commit.go Diff patch (#3345) 8 years ago
download.go Set utf-8 charset for text files when serving raw content (#2898) 8 years ago
http.go Refactor User.Id to User.ID 8 years ago
issue.go routers/repo/issue: remove redundant format string 8 years ago
pull.go Refactor User.Id to User.ID 8 years ago
release.go routers/repo/release: Use correct branch reference (#3330) 8 years ago
repo.go Refactor User.Id to User.ID 8 years ago
setting.go Refactor User.Id to User.ID 8 years ago
view.go Use struct for UI settings 8 years ago
webhook.go Refactor User.Id to User.ID 8 years ago
wiki.go Do not show filename not have suffifx .md 8 years ago