ChappIO / git-backup

Backup all your github & gitlab repositories
Apache License 2.0
191 stars 13 forks source link

Fix backing up starred GitHub repos when starred is false #5

Closed LucaScorpion closed 2 years ago

LucaScorpion commented 2 years ago

For the GitHub config the starred property was never actually checked, so starred repos were always backed up. This PR fixes that so the starred config value is actually checked.

Also minor scope creep: I noticed the last log message ("Backed up N repositories [...]") displayed the amount of sources, instead of the amount or repos, so I also fixed that.

ChappIO commented 2 years ago

I fixed this yesterday just nog in a separate branch 😅 thanks