reticulatedpines / magiclantern_simplified

A Git based version of Magic Lantern, for those unwilling or unable to work using Mercurial. The vast majority of branches have been removed, with those thought to be important brought in individually and merged.
GNU General Public License v2.0
142 stars 50 forks source link

git_summary.py gives ugly error if someone uses zip from github #85

Open reticulatedpines opened 1 year ago

reticulatedpines commented 1 year ago

git_summary.py errors like this if someone downloads zip of the repo and tries to build it:
fatal: not a git repository (or any parent up to mount point /mnt)

We should either not fail, and make a build with a "not git managed" style message for the user, or, we should print a nicer message explaining why it failed and possible fixes.

See the related https://github.com/reticulatedpines/magiclantern_simplified/issues/17