tlc-pack / tlcpack

https://tlcpack.ai/
Apache License 2.0
23 stars 30 forks source link

Add logic to skip the Git checkout #151

Closed Liam-Sturge closed 1 year ago

Liam-Sturge commented 1 year ago

In some circumstances we would like to skip the checkout stage, in order to run the package sync on an existing checkout.

In this case it is not necessary and in some cases, undesirable to run the checkout again so this patch adds logic to bypass it when required.

Unless the --skip-checkout option is passed, existing checkout logic remains unchanged by this patch.

CC @leandron @areusch @Mousius @driazati for review

leandron commented 1 year ago

Merging this as it doesn't break existing scripting and the requested change was implemented. Thanks @Liam-Sturge @driazati