stash
stash copied to clipboard
Issue saving commit details, python 2.7
I’m getting the following error when trying to save commit details (name email etc) stash: <type 'exceptions.AttributeError'>: 'StackedConfig' object has no attribute 'write_to_path'
Have tried: as a temporary workaround, in bin/git.py, at line 391, change config = repo.repo.get_stackedconfig() to config = repo.repo.get_config()
But can’t find this line is site-packages/stash/bin/git.py
sorry, it was actually get_config_stack() and I think is in a different line. I have a pull request with a more robust fix (#333).
There is a file with merged fixes. You could just copy out bin/git.py, or else clone it, or do selfupdate pointing to this branch, etc. commit 9939221.