glandium / git-cinnabar

git remote helper to interact with mercurial repositories
GNU General Public License v2.0
287 stars 60 forks source link

Create log files in case of errors #300

Closed saschanaz closed 2 years ago

saschanaz commented 2 years ago

Errors may not be visible when git commands run behind the scene by tools e.g. VSCode or GitHub Desktop. Such errors may still be useful for debugging, and in that case a file logging option can help.

glandium commented 2 years ago

My proposal for this would be to allow to add ">file" in cinnabar.log or GIT_CINNABAR_LOG. So that you could set:

glandium commented 2 years ago

Done in 385f6ddf14e3b05239a58d551100699cdd47331e