Logo
Explore Gists Help
Sign In
Gitea-John71/Gitea
2
0
Fork 0
You've already forked Gitea
mirror of https://github.com/go-gitea/gitea.git synced 2026-08-07 15:32:11 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
008f5d8cf1c40b96f43b19ecf48240fc4b86e3f0
Gitea/modules
T
History
Eng Zer Jun ad3cbbc3b1 Remove redundant nil check in WalkGitLog (#26773)
From the Go specification:

> "1. For a nil slice, the number of iterations is 0."
https://go.dev/ref/spec#For_range

Therefore, an additional nil check for before the loop is unnecessary.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-29 11:03:43 +00:00
..
actions
…
activitypub
…
analyze
…
assetfs
…
auth
…
avatar
…
base
…
cache
…
charset
…
container
…
context
…
csv
…
doctor
…
emoji
…
eventsource
…
generate
…
git
Remove redundant nil check in WalkGitLog (#26773)
2023-08-29 11:03:43 +00:00
gitgraph
…
graceful
…
hcaptcha
…
highlight
…
hostmatcher
…
html
…
httpcache
…
httplib
…
indexer
…
issue/template
…
json
…
label
…
lfs
…
log
…
markup
…
mcaptcha
…
metrics
…
migration
…
nosql
…
notification
…
options
…
packages
…
paginator
…
pprof
…
private
…
process
…
proxy
…
proxyprotocol
…
public
…
queue
…
recaptcha
…
references
…
regexplru
…
repository
…
secret
…
session
…
setting
…
sitemap
…
ssh
…
storage
…
structs
…
svg
…
sync
…
system
…
templates
…
test
…
testlogger
…
timeutil
…
translation
…
turnstile
…
typesniffer
…
updatechecker
…
upload
…
uri
…
user
…
util
…
validation
…
web
…
webhook
…
Powered by Gitea Version: 1.26.0 Page: 1778ms Template: 197ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Gists