index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
cmd
/
backup.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2018-06-17 22:18:41 +0800
committer
Unknwon <u@gogs.io>
2018-06-17 22:18:41 +0800
commit
376a629c9f99893f341e76163e9b61273dd32c28
(
patch
)
tree
4e3e1320c19d73c2282ff82c8d6aafb569ed9d87
/
cmd/backup.go
parent
303fa37b608a4925f5a0137c89e20a906b3d9fdb
(
diff
)
repo: add changes to repository avatar feature (#5221)
Diffstat
(limited to 'cmd/backup.go')
-rw-r--r--
cmd/backup.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/backup.go b/cmd/backup.go
index ad635a4d..0adde979 100644
--- a/
cmd/backup.go
+++ b/
cmd/backup.go
@@ -100,7 +100,7 @@ func runBackup(c *cli.Context) error {
// Data files
if !c.Bool("database-only") {
- for _, dir := range []string{"attachments", "avatars"} {
+ for _, dir := range []string{"attachments", "avatars", "repo-avatars"} {
dirPath := path.Join(setting.AppDataPath, dir)
if !com.IsDir(dirPath) {
continue