pyvec / elsa

Helper module for hosting Frozen-Flask based websites on GitHub pages
Other
29 stars 49 forks source link

Don't remove remote tracking branch if --no-push is used #42

Closed hroncok closed 6 years ago

hroncok commented 7 years ago

Fixes https://github.com/pyvec/elsa/issues/41

encukou commented 6 years ago

Sorry, this fell off my radar :(

Files in .git/refs aren't the only way to store refs. It's better to use Git commands for handling them. See my proposal commit.

hroncok commented 6 years ago

Looks good. Any chance the git's GC strikes in between and we loose the commit, or am i just being paranoid?

encukou commented 6 years ago

I'd say that's being too paranoid. GC shouldn't be run fully automatically; it's tacked onto some high-level Git commands