Commit c1b1b79
committed
Bugfix: Ignore the 'default_branch' option
When specifying a default branch on a repository which is still empty, the execution
fails with the following error message:
'Cannot update default branch for an empty repository. Please init the repository and push first'
This change avoids that users have to debug this problem and/or create new repositories in
three steps (1. ‘create repo PR’, 2. add branch , 3. ‘set default branch’ PR).
Secondly this change adds a bit more detailed error-debug-output to simplify
debugging situations.
Signed-off-by: Marc Schöchlin <[email protected]>1 parent 818090c commit c1b1b79
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
228 | 233 | | |
229 | 234 | | |
230 | 235 | | |
| |||
1126 | 1131 | | |
1127 | 1132 | | |
1128 | 1133 | | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
1129 | 1143 | | |
1130 | 1144 | | |
1131 | 1145 | | |
| |||
0 commit comments