An error occurred while fetching folder content.
Handle empty author names (#21902) (#22028)
zeripath authored
Backport #21902

Although git does expect that author names should be of the form: `NAME
<EMAIL>` some users have been able to create commits with: `<EMAIL>`

Fix #21900
Signed-off-by: default avatarAndrew Thornton <art27@cantab.net>
Co-authored-by: default avatarLauris BH <lauris@nix.lv>
601766d1
Name Last commit Last update
..
foreachref Use Go 1.19 fmt for Gitea 1.17, sync emoji data (#21239)
pipeline Remove legacy `+build:` constraint (#19582)
tests/repos Auto merge pull requests when all checks succeeded via API (#9307)
url Fix some mirror bugs (#18649)
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)
batch_reader.go Prevent dangling cat-file calls (goroutine alternative) (#19454)
blame.go Set Setpgid on child git processes (#19865)
blame_test.go refactor: move from io/ioutil to io and os package (#17109)
blob.go Read expected buffer size (#17409)
blob_gogit.go Remove legacy `+build:` constraint (#19582)
blob_nogogit.go Remove legacy `+build:` constraint (#19582)
blob_test.go Make git.OpenRepository accept Context (#19260)
command.go Prevent panic in doctor command when running default checks (#21791) (#21808)
command_race_test.go Remove legacy `+build:` constraint (#19582)
command_test.go improve code quality (#21464) (#21463)
commit.go improve code quality (#21464) (#21463)
commit_convert_gogit.go Remove legacy `+build:` constraint (#19582)
commit_info.go Use native git variants by default with go-git variants as build tag (#13673)
commit_info_gogit.go Remove legacy `+build:` constraint (#19582)
commit_info_nogogit.go Remove legacy `+build:` constraint (#19582)
commit_info_test.go Make git.OpenRepository accept Context (#19260)
commit_reader.go Tagger can be empty, as can Commit and Author - tolerate this (#15835)
commit_test.go Use for a repo action one database transaction (#19576)
diff.go Pass gitRepo down to GetRawDiff, since its used for main repo and wiki (#19461)
diff_test.go Prevent off-by-one error on comments on newly appended lines (#18029)
error.go
git.go
git_test.go
hook.go
last_commit_cache.go
last_commit_cache_gogit.go
last_commit_cache_nogogit.go
lfs.go
log_name_status.go
notes.go
notes_gogit.go
notes_nogogit.go
notes_test.go
parse_gogit.go
parse_gogit_test.go
parse_nogogit.go
parse_nogogit_test.go
ref.go
remote.go
repo.go
repo_archive.go
repo_attribute.go
repo_attribute_test.go
repo_base.go
repo_base_gogit.go
repo_base_nogogit.go
repo_blame.go
repo_blob.go
repo_blob_gogit.go
repo_blob_nogogit.go
repo_blob_test.go
repo_branch.go
repo_branch_gogit.go
repo_branch_nogogit.go
repo_branch_test.go
repo_commit.go
repo_commit_gogit.go
repo_commit_nogogit.go
repo_commit_test.go
repo_commitgraph.go
repo_commitgraph_gogit.go
repo_compare.go
repo_compare_test.go
repo_gpg.go
repo_hook.go
repo_index.go
repo_language_stats.go
repo_language_stats_gogit.go
repo_language_stats_nogogit.go
repo_language_stats_test.go
repo_object.go
repo_ref.go
repo_ref_gogit.go
repo_ref_nogogit.go
repo_ref_test.go
repo_stats.go
repo_stats_test.go
repo_tag.go
repo_tag_gogit.go
repo_tag_nogogit.go
repo_tag_test.go
repo_test.go
repo_tree.go
repo_tree_gogit.go
repo_tree_nogogit.go
sha1.go
sha1_gogit.go
sha1_nogogit.go
signature.go
signature_gogit.go
signature_nogogit.go
submodule.go
submodule_test.go
tag.go
tag_test.go

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.