]> source.dussan.org Git - gitea.git/commit
Add TestPrepareWikiFileName (#16487) (#16498)
author6543 <6543@obermui.de>
Wed, 21 Jul 2021 02:37:00 +0000 (04:37 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Jul 2021 02:37:00 +0000 (03:37 +0100)
commit09a4364b2197520c3c6bb0fbcac26eed77c3af2f
tree2386cac949fd14cd8a91088158e9d9ab0d24f64b
parent0c3467ffb719eed9ed1d6a42be9491af44a1d14d
Add TestPrepareWikiFileName (#16487) (#16498)

* Add TestPrepareWikiFileName

* use LsTree as LsFiles is index only

* ajust other tests

Co-authored-by: Andrew Thornton <art27@cantab.net>
integrations/gitea-repositories-meta/user2/repo1.wiki.git/objects/0d/ca5bd9b5d7ef937710e056f575e86c0184ba85 [new file with mode: 0644]
integrations/gitea-repositories-meta/user2/repo1.wiki.git/objects/89/43a1d5f93c00439d5ffc0f8e36f5d60abae46c [new file with mode: 0644]
integrations/gitea-repositories-meta/user2/repo1.wiki.git/refs/heads/master
modules/git/tree.go
routers/web/repo/wiki_test.go
services/wiki/wiki.go
services/wiki/wiki_test.go