You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules
zeripath 6e4480835f
Fix issue with DiffIndex on initial commit (#11677)
Unfortunately #11614 introduced a bug whereby the initial commit of a
repository could not be seen due to there being no parent commit to
create a clear diff from.

Here we create a diffstat from the difference between the parentless SHA and the SHA of the empty tree - a constant known to git. (With thanks to @L0veSunshine for informing me of this SHA)

Thanks to @a1012112796 for initial attempt to fix.

Fix #11650

Closes #11674

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-Authored-By: L0veSunshine <xuan199651@gmail.com>
5 years ago
..
analyze Exclude generated files from language statistics (#11653) 5 years ago
auth Refactor Cron and merge dashboard tasks (#10745) 5 years ago
avatar
base Add gitea-vet (#10948) 5 years ago
cache make avatar lookup occur at image request (#10540) 5 years ago
charset deps: update and fix chardet import (#9351) 5 years ago
context Return json on 500 error from API (#11574) 5 years ago
convert API PullReviewComment HTMLPullURL should return the HTMLURL (#11501) 5 years ago
cron Refactor Cron and merge dashboard tasks (#10745) 5 years ago
emoji Update emoji regex (#11584) 5 years ago
eventsource Add EventSource support (#11235) 5 years ago
generate Add gitea-vet (#10948) 5 years ago
git Fix issue with DiffIndex on initial commit (#11677) 5 years ago
gitgraph
graceful Handle panics that percolate up to the graceful module (#11291) 5 years ago
highlight
httplib
indexer Log the indexer path on failure (#11172) 5 years ago
lfs Support Range header end in lfs (#11314) 5 years ago
log modules/log: remove noop written variables (#10182) 5 years ago
markup Update emoji regex (#11584) 5 years ago
metrics
migrations Refactor Cron and merge dashboard tasks (#10745) 5 years ago
notification Add push commits history comment on PR time-line (#11167) 5 years ago
options Rename scripts to build and add revive command as a new build tool command (#10942) 5 years ago
password
pprof
private Upgrade golangci-lint to 1.24.0 (#10894) 5 years ago
process Add gitea-vet (#10948) 5 years ago
public Send 404 immediately for known public requests (#11117) 5 years ago
queue Prevent timer leaks in Workerpool and others (#11333) 5 years ago
recaptcha
references Accept punctuation after simple+cross repository issue references (#10091) 5 years ago
repofiles Fix numbr of files, total additions, and deletions (#11614) 5 years ago
repository Add API Endpoint for Branch Creation (#11607) 5 years ago
secret
session Prevent (caught) panic on login (#11590) 5 years ago
setting Default MSSQL port 0 to allow automatic detection by default (#11642) 5 years ago
ssh log.Fatal on failure to listen to SSH port (#10795) 5 years ago
structs Add API Endpoint for Branch Creation (#11607) 5 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
task Move create/fork repository from models to modules/repository (#9489) 5 years ago
templates Move serviceworker to workbox and fix SSE interference (#11538) 5 years ago
test Add Organization Wide Labels (#10814) 5 years ago
timeutil
upload
user Add gitea-vet (#10948) 5 years ago
util Prevent timer leaks in Workerpool and others (#11333) 5 years ago
validation [API] Get a single commit via Ref (#10915) 5 years ago
webhook Handle panics that percolate up to the graceful module (#11291) 5 years ago