Xion / gisht

Gists in the shell
GNU General Public License v2.0
27 stars 0 forks source link

Honor locality flags when fetching GitHub gists #2

Closed Xion closed 7 years ago

Xion commented 7 years ago

GItHub::fetch_gist is not properly honoring --cached & --remote flags now, and refreshing local gists based on the time of last git pull.

We should pass Locality as additional param to Host::fetch_gist and have GitHub impl use it when fetching gists.

Xion commented 7 years ago

This was actually fixed a while ago with the introduction of FetchMode param.