forgejo/modules
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 show workflow config error on file view also (#24267) 2023-04-22 22:16:54 -04:00
activitypub
analyze
assetfs Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
auth Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
avatar Allow webp images as avatars (#24248) 2023-04-21 13:15:49 -04:00
base Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
cache Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
charset Update go tool dependencies, restructure lint targets (#24239) 2023-04-22 14:53:00 -04:00
container
context Refactor "route" related code, fix Safari cookie bug (#24330) 2023-04-27 02:06:45 -04:00
csv Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
doctor Enable forbidigo linter (#24278) 2023-04-24 05:50:58 -04:00
emoji
eventsource
generate
git Add ability to specify '--not' from GetAllCommits (#24409) 2023-04-29 08:34:14 -04:00
gitgraph
graceful Remove most path-based golangci exclusions (#24214) 2023-04-19 22:08:01 -04:00
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer Refactor config provider (#24245) 2023-04-25 23:06:39 +08:00
issue/template
json
label Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
lfs Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
log Enable forbidigo linter (#24278) 2023-04-24 05:50:58 -04:00
markup Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
mcaptcha
metrics
migration
mirror
nosql Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
notification
options Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
packages Revert "Add Debian package registry" (#24412) 2023-04-28 18:06:41 -04:00
paginator Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
pprof
private Fix incorrect internal response type (#24173) 2023-04-17 23:10:40 -04:00
process
proxy
proxyprotocol
public Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
queue Skip known flaky queue tests on CI environment (#24419) 2023-04-29 11:53:11 +02:00
recaptcha
references
regexplru
repository Fix unclear IsRepositoryExist logic (#24374) 2023-04-28 14:14:26 -04:00
secret Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
session Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
setting Revert "Add Debian package registry" (#24412) 2023-04-28 18:06:41 -04:00
sitemap
ssh
storage Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
structs Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
svg Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
sync
system
templates Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
test Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
timeutil Fix template function DateTime (#24317) 2023-04-25 15:48:30 -04:00
translation Make repo size style matches others (commits/branches/tags) (#24408) 2023-04-28 17:23:19 -04:00
turnstile
typesniffer
updatechecker
upload
uri
user
util Revert "Add Debian package registry" (#24412) 2023-04-28 18:06:41 -04:00
validation
web Refactor "route" related code, fix Safari cookie bug (#24330) 2023-04-27 02:06:45 -04:00
webhook