1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 12:50:04 +02:00

handle no git repo case

This commit is contained in:
s2
2018-05-19 15:38:53 +02:00
parent 7a6c320ddf
commit eca9796be7
3 changed files with 16 additions and 3 deletions

View File

@@ -38,5 +38,10 @@ gitlit.templates = {
Refresh
</a>
</div>
`)
`),
isNoGitLfsRepo: ejs.compile(`
<div class="alert alert-danger">
<%= repoDir %> is not a git lfs repo.
</div>
`)
};