Gitea: "Update Branch" button on PR

Created on 13 Jan 2020  路  8Comments  路  Source: go-gitea/gitea

Related #8659

Similar to GitHub when a branch on a PR is out of sync, then an "Updated Branch" button could be used to merge commits from upstream into PR branch (assuming no merge conflicts)

kinenhancement

Most helpful comment

working on it .. to https://github.com/isaacs/github/issues/1419 I plan to reuse a lot of the normal merge code ... so to extend the function should be easy (but I like get the a simple PR in first, extend afterwards)

All 8 comments

An extension that would also be needed is to make the author suggestions ignore these merge commits too.

Maybe all commits which is merge from target shall be ignored as authors, even if not done in UI?

Exactly!

Maybe something to add in the future:
https://github.com/isaacs/github/issues/1419

working on it .. to https://github.com/isaacs/github/issues/1419 I plan to reuse a lot of the normal merge code ... so to extend the function should be easy (but I like get the a simple PR in first, extend afterwards)

working on it .. to isaacs/github#1419 I plan to reuse a lot of the normal merge code ... so to extend the function should be easy (but I like get the a simple PR in first, extend afterwards)

Could you please attach the link to issue in gitea project same as isaacs/github#1419 ?

@akostin33 created #11401

and status update: didnt looked into it at the moment ... to many things

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BNolet picture BNolet  路  3Comments

jorise7 picture jorise7  路  3Comments

cookiengineer picture cookiengineer  路  3Comments

tuxfanou picture tuxfanou  路  3Comments

flozz picture flozz  路  3Comments