Commit 5e6a282
test: fix ForwardingPostReceiveHookTest relying on host git init.defaultBranch
Without setInitialBranch("main"), JGit uses its built-in default ("master"),
so refs/heads/main never gets created and RemoteRefUpdate fails in CI where
no global init.defaultBranch=main is set.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent dd34226 commit 5e6a282
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments