News for hackers. Stuff that matters.
Re:Show HN: 'rebaser' improves on 'git rebase -i' by junkblocker on Friday July 24, 2015 @04:07PM (#9944823)
See my quick python2 edit at https://gist.github.com/junkblocker/c4b7f2417e62f0893021 . It needed os.path.expanduser(...) since my editor was set to ~/bin/vim and ~ is only expanded by shell without that.
Re:Show HN: 'rebaser' improves on 'git rebase -i' by wnoise on Friday July 24, 2015 @04:24PM (#9944952)
Shouldn't it be expanded by the shell when it is first set?

FOO=~/bin/vim export FOO env | grep FOO shows it as expanded.

Re:Show HN: 'rebaser' improves on 'git rebase -i' by junkblocker on Friday July 24, 2015 @06:48PM (#9945707)
You are running that in shell by hand. The python program running here is not shell. If you do a print(os.environ["GIT_EDITOR"]) in the python3 program you'll still see ~/bin/vim .