release/v1.2
Ethan Koenig 7 years ago committed by Bo-Yi Wu
parent 5ca3046da6
commit 9e627af9a4

@ -301,7 +301,7 @@ func (repo *Repository) innerAPIFormat(mode AccessMode, isParent bool) *api.Repo
Description: repo.Description, Description: repo.Description,
Private: repo.IsPrivate, Private: repo.IsPrivate,
Empty: repo.IsBare, Empty: repo.IsBare,
Size: int(repo.Size/1024), Size: int(repo.Size / 1024),
Fork: repo.IsFork, Fork: repo.IsFork,
Parent: parent, Parent: parent,
Mirror: repo.IsMirror, Mirror: repo.IsMirror,

@ -81,4 +81,3 @@ func IsReadmeFile(name string) bool {
} }
return name[:7] == "readme." return name[:7] == "readme."
} }

Loading…
Cancel
Save