1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05:00
forgejo/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 #3076 detect invalid tag name git error 2016-07-23 15:59:19 +08:00
git_diff.go Diff patch (#3345) 2016-07-30 23:02:22 +08:00
git_diff_test.go go fmt models/git_diff_test.go 2016-02-04 17:55:17 -02:00
issue.go #3327 fix wrong table name in Join 2016-07-26 18:40:20 +08:00
issue_comment.go #1601 support delete issue comment 2016-07-26 02:48:17 +08:00
issue_label.go Minor fix for #2710 2016-02-27 11:31:24 -05:00
issue_mail.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +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.go #3281 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
models_sqlite.go go vet 2014-04-13 03:14:43 -04:00
models_tidb.go add tidb support 2015-09-12 15:31:36 -04:00
org.go Add org.getUserTeams to reduce redundant code 2016-07-24 18:09:45 +08:00
org_team.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +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.go #1384 add pagination for repositories 2016-07-24 14:32:46 +08:00
repo_branch.go Minor fix for #2506 2016-02-02 17:07:40 -05:00
repo_collaboration.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
repo_test.go The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246) 2016-07-09 13:22:28 +08:00
ssh_key.go #3281 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
ssh_key_test.go Post work for #2637 2016-02-27 20:48:39 -05: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.go #3281 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
user_mail.go Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
webhook.go Remove redundant Unix timestamp method call 2016-07-23 20:24:44 +08:00
webhook_slack.go rename import path 2015-12-15 17:25:45 -05:00
wiki.go Fix wiki vulnerabilities 2016-07-01 15:33:35 +08:00