Commit 90cf86e
CB/fix: Consider RepoPath symlinked for size calculation (!37)
- Currently Codeberg is manually symlinking specific `.git` repository to the Ceph file system. While Git seems to handle this correctly, Gitea's code doesn't take this into consideration. This patch will always check if the `.git` repository is symlinked and if it, return the correct folder(the one on Ceph storage).
Co-authored-by: Gusted <[email protected]>
Reviewed-on: https://codeberg.org/Codeberg/gitea/pulls/37
Co-authored-by: Gusted <[email protected]>
Co-committed-by: Gusted <[email protected]>1 parent 1f075eb commit 90cf86e
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
146 | 154 | | |
147 | 155 | | |
148 | 156 | | |
| |||
0 commit comments