0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:14:36 +01:00
gitea/modules
zeripath f1e85622da
Improve TestPatch to use git read-tree -m and implement git-merge-one-file functionality (#18004)
The current TestPatch conflict code uses a plain git apply which does not properly
account for 3-way merging. However, we can improve things using `git read-tree -m` to
do a three-way merge then follow the algorithm used in merge-one-file. We can also use 
`--patience` and/or `--histogram` to generate a nicer diff for applying patches too.

Fix #13679
Fix #6417

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-12-19 05:19:25 +01:00
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset
context Prevent double decoding of % in url params (#17997) 2021-12-16 17:40:18 +00:00
convert Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
csv
doctor Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
emoji
eventsource
generate
git Improve TestPatch to use git read-tree -m and implement git-merge-one-file functionality (#18004) 2021-12-19 05:19:25 +01:00
gitgraph Add missing X-Total-Count and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00
graceful
hcaptcha hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
highlight
hostmatcher
httpcache
httplib
indexer Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 2021-12-16 19:01:14 +00:00
json Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
lfs
log
markup Fixed emoji alias not parsed in links (#16221) 2021-12-15 23:49:12 +00:00
metrics
migration
nosql
notification Fix rename notification bug (#18008) 2021-12-17 14:24:47 +08:00
options
password
pprof
private Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
process
proxy
public
queue
recaptcha
references
repository Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 2021-12-16 10:18:38 +08:00
secret
session
setting Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 2021-12-16 10:18:38 +08:00
ssh Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
storage
structs Add option to define refs in issue templates (#17842) 2021-12-17 21:29:09 +00:00
svg
sync
templates Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 2021-12-16 10:18:38 +08:00
test Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
timeutil
translation
typesniffer
updatechecker Use JSON module instead of stdlib json (#18003) 2021-12-17 09:15:02 +08:00
upload
uri
user
util
validation
web