Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/routers
Matthew Walowski f766b00293
Add ability to specify '--not' from GetAllCommits (#24409)
For my specific use case, I'd like to get all commits that are on one
branch but NOT on the other branch.

For instance, I'd like to get all the commits on `Branch1` that are not
also on `master` (I.e. all commits that were made after `Branch1` was
created).

This PR adds a `not` query param that gets passed down to the `git log`
command to allow the user to exclude items from `GetAllCommits`.

See [git
documentation](https://git-scm.com/docs/git-log#Documentation/git-log.txt---not)

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-04-29 08:34:14 -04:00
..
api Add ability to specify '--not' from GetAllCommits (#24409) 2023-04-29 08:34:14 -04:00
common Refactor "route" related code, fix Safari cookie bug (#24330) 2023-04-27 02:06:45 -04:00
install Refactor "route" related code, fix Safari cookie bug (#24330) 2023-04-27 02:06:45 -04:00
private Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Add ability to specify '--not' from GetAllCommits (#24409) 2023-04-29 08:34:14 -04:00
init.go Refactor "route" related code, fix Safari cookie bug (#24330) 2023-04-27 02:06:45 -04:00