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/services/pull
Lunny Xiao 538790ad1d
Put an edit file button on pull request files to allow a quick operation (#29697)
Resolve #23848

This PR put an edit file button on pull request files to allow a quick
edit for a file. After the edit finished, it will return back to the
viewed file position on pull request files tab.

It also use a branch view file link instead of commit link when it's a
non-commit pull request files view.

<img width="1532" alt="image"
src="https://github.com/go-gitea/gitea/assets/81045/3637ca4c-89d5-4621-847b-79702a44f617">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
11 months ago
..
check.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
check_test.go Replace assert.Fail with assert.FailNow (#27578) 1 year ago
comment.go Simplify how git repositories are opened (#28937) 1 year ago
commit_status.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
commit_status_test.go Fixing the issue when status check per rule matches multiple actions (#29631) 11 months ago
edits.go Implement FSFE REUSE for golang files (#21840) 2 years ago
lfs.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
merge.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 12 months ago
merge_ff_only.go Add merge style `fast-forward-only` (#28954) 1 year ago
merge_merge.go Add merge style `fast-forward-only` (#28954) 1 year ago
merge_prepare.go Refactor merge/update git command calls (#23366) 2 years ago
merge_rebase.go Simplify how git repositories are opened (#28937) 1 year ago
merge_squash.go Simplify how git repositories are opened (#28937) 1 year ago
merge_test.go Support template for merge message description (#22248) 2 years ago
patch.go Simplify how git repositories are opened (#28937) 1 year ago
patch_unmerged.go Implement FSFE REUSE for golang files (#21840) 2 years ago
pull.go Put an edit file button on pull request files to allow a quick operation (#29697) 11 months ago
pull_test.go Simplify how git repositories are opened (#28937) 1 year ago
review.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
temp_repo.go Adjust object format interface (#28469) 1 year ago
update.go Sync branches into databases (#22743) 2 years ago
update_rebase.go Refactor and tidy-up the merge/update branch code (#22568) 2 years ago