0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-24 14:56:55 -05:00
forgejo/routers/web
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
..
admin Fix unclear IsRepositoryExist logic (#24374) 2023-04-28 14:14:26 -04:00
auth Respect the REGISTER_MANUAL_CONFIRM setting when registering via OIDC (#24035) 2023-04-25 14:40:48 +08:00
devtest Remove untranslatable on_date key (#24106) 2023-04-15 13:01:54 +02:00
events
explore Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766) 2023-03-29 08:41:45 -05:00
feed Add ability to specify '--not' from GetAllCommits (#24409) 2023-04-29 08:34:14 -04:00
healthcheck Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
misc Refactor "route" related code, fix Safari cookie bug (#24330) 2023-04-27 02:06:45 -04:00
org Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
repo Add ability to specify '--not' from GetAllCommits (#24409) 2023-04-29 08:34:14 -04:00
shared Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
user Revert "Add Debian package registry" (#24412) 2023-04-28 18:06:41 -04:00
auth.go
auth_windows.go
base.go Refactor "route" related code, fix Safari cookie bug (#24330) 2023-04-27 02:06:45 -04:00
goget.go
home.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
metrics.go
nodeinfo.go
swagger_json.go Group template helper functions, remove Printf, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
web.go getting the tag list does not require being signed in (#24413) 2023-04-29 00:40:55 -04:00
webfinger.go Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00