A PR is not guaranteed to have commits, it seems, so add a guard against assuming that there is always a head commit. |
||
|---|---|---|
| .. | ||
| git.go | ||
| git_test.go | ||
| remote.go | ||
| remote_test.go | ||
| ssh_config.go | ||
| ssh_config_test.go | ||
| url.go | ||
| url_test.go | ||
A PR is not guaranteed to have commits, it seems, so add a guard against assuming that there is always a head commit. |
||
|---|---|---|
| .. | ||
| git.go | ||
| git_test.go | ||
| remote.go | ||
| remote_test.go | ||
| ssh_config.go | ||
| ssh_config_test.go | ||
| url.go | ||
| url_test.go | ||