Reduce the nesting of if statements by using a `PushAction` enum that is constructed by checking the `dst` reference and parsing the correct action, one of: - `OpenPatch` - `UpdatePatch` - `PushRef` This makes the intent of the code a little bit more clear and reduces the tabbing of big code blocks. It also captures the error specifically for handling the parsing of this `dst` reference. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| build.rs | ||