bench-forgejo/templates/repo/diff
zeripath 0198bbedc1
Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327)
* Allow compare page to look up base, head, own-fork, forkbase-of-head

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @guillep2k

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update routers/repo/compare.go

* as per @guillep2k

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Rationalise the names a little

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Rationalise the names a little (2)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix 500 with fork of fork

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Prevent 500 on compare different trees

Signed-off-by: Andrew Thornton <art27@cantab.net>

* dotdotdot is perfectly valid in both usernames and repo names

Signed-off-by: Andrew Thornton <art27@cantab.net>

* ensure we can set the head and base repos too

Signed-off-by: Andrew Thornton <art27@cantab.net>

* ensure we can set the head and base repos too (2)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* only set headRepo == baseRepo if isSameRepo

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-05-12 08:52:46 +03:00
..
blob_excerpt.tmpl Fix and simplify some tmpl conditions (#11080) 2020-04-16 16:26:24 -05:00
box.tmpl Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
comment_form.tmpl Fix reply on code review (#10227) 2020-02-13 13:22:15 +08:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comments.tmpl Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
compare.tmpl Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 2020-05-12 08:52:46 +03:00
image_diff.tmpl Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
new_comment.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
new_review.tmpl Fix submit review form (#11252) 2020-04-30 09:59:47 +08:00
options_dropdown.tmpl FIX download diff/patch from commit (#8792) 2019-11-02 18:47:25 -04:00
section_unified.tmpl Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
whitespace_dropdown.tmpl Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00