1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 15:22:30 +02:00
gitea/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
activitypub
analyze
assetfs
auth
avatar
base
cache
charset
container
context
csv
doctor
emoji
eventsource
generate
git Add ability to specify '--not' from GetAllCommits (#24409) 2023-04-29 08:34:14 -04:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
label
lfs
log
markup
mcaptcha
metrics
migration
mirror
nosql
notification
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue Skip known flaky queue tests on CI environment (#24419) 2023-04-29 11:53:11 +02:00
recaptcha
references
regexplru
repository
secret
session
setting
sitemap
ssh
storage
structs
svg
sync
system
templates Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
test
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util
validation
web
webhook