diff options
author | Dennis Chen <barracks510@gmail.com> | 2018-03-12 15:03:51 -0400 |
---|---|---|
committer | jc <u@gogs.io> | 2018-03-12 15:03:51 -0400 |
commit | f0bbcef3a473ea72dc948ccc3537aeba7ef45e98 (patch) | |
tree | eb7d9a0ff563c0e55763e263c3e2ee4dba7e3baa /cmd/backup.go | |
parent | d7280f82ac147ce50c9f2465d55ce939d01b4143 (diff) |
api: fix nil pointer dereference on repo/forks (#4633)
Sets BaseRepo value for each resulting fork in GetForks().
Finds correct permissions for parent repository in APIFormat().
The output JSON is a little redundant, perhaps we should offer a
different view of the api.Repository without the Parent attribute?
Signed-off-by: Dennis Chen <barracks510@gmail.com>
Diffstat (limited to 'cmd/backup.go')
0 files changed, 0 insertions, 0 deletions