]> source.dussan.org Git - gitea.git/commit
Fix submodule parsing (#32571)
authorLunny Xiao <xiaolunwen@gmail.com>
Wed, 20 Nov 2024 19:26:12 +0000 (11:26 -0800)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 19:26:12 +0000 (19:26 +0000)
commit33850a83fe4ebd23a762a7aac81614c42e303bfa
treedbb95edd9c1c2604d262441b1e236cf107df1327
parent407b6e6dfc7ee9ebb8a16c7f1a786e4c24d0516e
Fix submodule parsing (#32571)

Fix #32568, parse `.gitmodules` correctly

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
22 files changed:
modules/git/commit.go
modules/git/commit_info.go
modules/git/commit_info_gogit.go
modules/git/commit_info_nogogit.go
modules/git/commit_submodule.go [new file with mode: 0644]
modules/git/commit_submodule_file.go [new file with mode: 0644]
modules/git/commit_submodule_file_test.go [new file with mode: 0644]
modules/git/commit_test.go
modules/git/config.go [new file with mode: 0644]
modules/git/config_submodule.go [new file with mode: 0644]
modules/git/config_submodule_test.go [new file with mode: 0644]
modules/git/config_test.go [new file with mode: 0644]
modules/git/fsck.go [new file with mode: 0644]
modules/git/git.go
modules/git/git_test.go
modules/git/repo_base_gogit.go
modules/git/repo_base_nogogit.go
modules/git/repo_tag_gogit.go
modules/git/repo_tag_nogogit.go
modules/git/submodule.go [deleted file]
modules/git/submodule_test.go [deleted file]
modules/git/utils.go