cooperspencer / gickup

https://cooperspencer.github.io/gickup-documentation/
Apache License 2.0
988 stars 38 forks source link

Extract methods for local repo clone and update #63

Closed colindean closed 2 years ago

colindean commented 2 years ago

It was a little difficult to understand what was going where, esp. with Go's verbose logging, so I extracted methods where appropriate. This should also ease some testing concerns down the road.

As I said in #62, I thought I might pull this in its own PR. Yeah, it's worth a separate conversation, methinks.

No new tests, but I ran it against my export and it worked fine seemingly.