0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 10:24:38 +01:00
gitea/models
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
..
migrations Remove redundant Unix timestamp method call 2016-07-23 20:24:44 +08:00
access.go #1384 add pagination for repositories 2016-07-24 14:32:46 +08:00
action.go #1384 add pagination for repositories 2016-07-24 14:32:46 +08:00
admin.go Remove redundant Unix timestamp method call 2016-07-23 20:24:44 +08:00
error.go
git_diff_test.go
git_diff.go Diff patch (#3345) 2016-07-30 23:02:22 +08:00
issue_comment.go #1601 support delete issue comment 2016-07-26 02:48:17 +08:00
issue_label.go
issue_mail.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
issue.go #3327 fix wrong table name in Join 2016-07-26 18:40:20 +08:00
login.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
mail.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
models_sqlite.go
models_tidb.go
models.go #3281 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
org_team.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
org.go Add org.getUserTeams to reduce redundant code 2016-07-24 18:09:45 +08:00
pull.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
release.go models/release: Update Sha1 if tag already exists (#3331) 2016-07-28 10:45:35 +08:00
repo_branch.go
repo_collaboration.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
repo_test.go
repo.go #1384 add pagination for repositories 2016-07-24 14:32:46 +08:00
ssh_key_test.go
ssh_key.go #3281 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
token.go Remove redundant Unix timestamp method call 2016-07-23 20:24:44 +08:00
update.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
user_mail.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
user.go #3281 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
webhook_slack.go
webhook.go Remove redundant Unix timestamp method call 2016-07-23 20:24:44 +08:00
wiki.go