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.
gitea/routers/repo
Mario Lubenka 311ce2d1d0 Compare branches, commits and tags with each other (#6991)
* Supports tags when comparing commits or branches

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Hide headline when only comparing and don't load unused data

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Merges compare logics to allow comparing branches, commits and tags with eachother

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Display branch or tag instead of commit when used for comparing

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show pull request form after click on button

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Transfers relevant pull.go changes from master to compare.go

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Fixes error when comparing forks against a commit or tag

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes console.log from JavaScript file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show icon next to commit reference when comparing branch or tag

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Updates css file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Fixes import order

* Renames template variable

* Update routers/repo/compare.go

Co-Authored-By: zeripath <art27@cantab.net>

* Update from master

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Allow short-shas in compare

* Renames prInfo to compareInfo

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Check PR permissions only if compare is pull request

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use compareInfo instead of prInfo
6 years ago
..
activity.go Git statistics in Activity tab (#4724) 6 years ago
attachment.go fix upload attachments (#6481) 6 years ago
blame.go fix syntax highlight in blame view #6895 (#6909) 6 years ago
branch.go Remove local clones & make hooks run on merge/edit/upload (#6672) 6 years ago
commit.go Compare branches, commits and tags with each other (#6991) 6 years ago
compare.go Compare branches, commits and tags with each other (#6991) 6 years ago
download.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
editor.go Fix reversion caused by 6314 (#6685) 6 years ago
editor_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 6 years ago
http.go Move serv hook functionality & drop GitLogger (#6993) 6 years ago
issue.go Add state param to milestone listing API (#7131) 6 years ago
issue_dependency.go Added dependencies for issues (#2196) (#2531) 7 years ago
issue_label.go Allow labels to contain emoji (#6063) 6 years ago
issue_label_test.go fix go vet error (#3740) 7 years ago
issue_lock.go Implement "conversation lock" for issue comments (#5073) 6 years ago
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 6 years ago
issue_timetrack.go Handle refactor (#3339) 7 years ago
issue_watch.go Trace Logging on Permission Denied & ColorFormat (#6618) 6 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
milestone.go Unifies pagination template usage (#6531) (#6533) 6 years ago
pull.go Compare branches, commits and tags with each other (#6991) 6 years ago
pull_review.go Add comment replies (#5104) 6 years ago
release.go Unifies pagination template usage (#6531) (#6533) 6 years ago
release_test.go Fix missing branch in release bug (#3108) 7 years ago
repo.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 6 years ago
search.go Unifies pagination template usage (#6531) (#6533) 6 years ago
setting.go Validate External Tracker URL Format (#7089) 6 years ago
setting_protected_branch.go Improve listing performance by using go-git (#6478) 6 years ago
settings_test.go An inactive user shouldn't be able to be added as a collaborator (#4535) 7 years ago
topic.go Better logging (#6038) (#6095) 6 years ago
view.go Fix org visibility bug when git cloning (#6743) 6 years ago
webhook.go Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953) 6 years ago
wiki.go Trace Logging on Permission Denied & ColorFormat (#6618) 6 years ago
wiki_test.go Improve listing performance by using go-git (#6478) 6 years ago