1
0
Fork 0
forgejo/routers/web/repo
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
..
actions
setting Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
activity.go
attachment.go Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
blame.go
branch.go Improve RSS (#24335) 2023-04-25 22:53:44 -04:00
cherry_pick.go
commit.go Add ability to specify '--not' from GetAllCommits (#24409) 2023-04-29 08:34:14 -04:00
compare.go
download.go
editor.go
editor_test.go
find.go
helper.go
helper_test.go
http.go Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
http_test.go
issue.go Alert error message if open dependencies are included in the issues that try to batch close (#24329) 2023-04-26 12:54:17 -04:00
issue_content_history.go
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go
projects_test.go
pull.go
pull_review.go
release.go Add tags list for repos whose release setting is disabled (#23465) 2023-04-25 18:29:00 +02:00
release_test.go
render.go
repo.go Refactor "route" related code, fix Safari cookie bug (#24330) 2023-04-27 02:06:45 -04:00
search.go
setting.go
setting_protected_branch.go Improve protected branch setting page (#24379) 2023-04-29 06:44:52 -04:00
settings_test.go
tag.go
topic.go
treelist.go
view.go Add RSS Feeds for branches and files (#22719) 2023-04-25 22:08:29 +08:00
view_test.go
webhook.go Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
wiki.go
wiki_test.go