Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind
3b99066aa8
Fix incorrect diff expander for deletion of last lines in a file ( #29501 )
...
Fixes: https://github.com/go-gitea/gitea/issues/29498
I don't quite understand this code, but this change does seem to fix the
issue and I tested a number of diffs with it and saw no issue. The
function gets such value if last line is an addition:
```
LastLeftIdx: (int) 0,
LastRightIdx: (int) 47,
LeftIdx: (int) 47,
RightIdx: (int) 48,
```
If it's a deletion, it gets:
```
LastLeftIdx: (int) 47,
LastRightIdx: (int) 0,
LeftIdx: (int) 48,
RightIdx: (int) 47,
```
So I think it's correct to make this check respect both left and right
side.
9 months ago
..
actions
Fix workflow trigger event bugs ( #29467 )
9 months ago
agit
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository ( #29294 )
9 months ago
asymkey
Simplify how git repositories are opened ( #28937 )
10 months ago
attachment
Move context from modules to services ( #29440 )
9 months ago
auth
Move context from modules to services ( #29440 )
9 months ago
automerge
Simplify how git repositories are opened ( #28937 )
10 months ago
context
Use a predictiable fork URL to allow forking repositories without providing a repo ID ( #29519 )
9 months ago
contexttest
Move context from modules to services ( #29440 )
9 months ago
convert
Move context from modules to services ( #29440 )
9 months ago
cron
Refactor locale&string&template related code ( #29165 )
9 months ago
doctor
Simplify how git repositories are opened ( #28937 )
10 months ago
externalaccount
Revert "Support SAML authentication ( #25165 )" ( #29358 )
9 months ago
feed
More `db.DefaultContext` refactor ( #27265 )
1 year ago
forms
Move context from modules to services ( #29440 )
9 months ago
gitdiff
Fix incorrect diff expander for deletion of last lines in a file ( #29501 )
9 months ago
indexer
Fix missing issue search index update when changing status ( #28325 )
12 months ago
issue
Allow non-admin users to delete review requests ( #29057 )
9 months ago
lfs
Move context from modules to services ( #29440 )
9 months ago
mailer
Move context from modules to services ( #29440 )
9 months ago
markup
Move context from modules to services ( #29440 )
9 months ago
migrations
Move migration functions to services layer ( #29497 )
9 months ago
mirror
Simplify how git repositories are opened ( #28937 )
10 months ago
notify
Update status and code index after changing the default branch ( #27018 )
1 year ago
org
Delete repos of org when purge delete user ( #27273 )
1 year ago
packages
Integrate alpine `noarch` packages into other architectures index ( #29137 )
9 months ago
pull
Move context from modules to services ( #29440 )
9 months ago
release
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository ( #29294 )
9 months ago
repository
Move migration functions to services layer ( #29497 )
9 months ago
secrets
Refactor deletion ( #28610 )
11 months ago
task
Fix incorrect ctx usage in defer function ( #27740 )
1 year ago
uinotification
Penultimate round of `db.DefaultContext` refactor ( #27414 )
1 year ago
user
Unify password changing and invalidate auth tokens ( #27625 )
10 months ago
webhook
Use `crypto/sha256` ( #29386 )
9 months ago
wiki
Fix an actions schedule bug ( #28942 )
10 months ago