A new GitHub feature landed where the API client can specify the desired name of the new fork. This avoids the necessity of subsequently having to rename the forked repo after the fork operation has created one. For backwards compatibility, the renaming logic is still here, but activates only if the resulting repo name is not the desired name. |
||
|---|---|---|
| .. | ||
| repo.go | ||
| repo_test.go | ||