Commit 6cb9ce1
IsBranchExist: return false if provided name is empty (go-gitea#8485) (go-gitea#8492)
* IsBranchExist: return false if provided name is empty
* Ensure that the reference returned is actually of a valid type1 parent d93d5d7 commit 6cb9ce1
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
0 commit comments