When we fetch expecting a rev/hash to be present, defensively check and fail gracefully so that a subsequent sync would get it. Check for missing hash after a git fetch with shallow depth |
||
|---|---|---|
| .. | ||
| main.go | ||
| main_test.go | ||
| webhook.go | ||
| webhook_test.go | ||
When we fetch expecting a rev/hash to be present, defensively check and fail gracefully so that a subsequent sync would get it. Check for missing hash after a git fetch with shallow depth |
||
|---|---|---|
| .. | ||
| main.go | ||
| main_test.go | ||
| webhook.go | ||
| webhook_test.go | ||