- use vertical tab character instead of "MAGIC" string to denote end of input
- check for terminator using pattern match instead of eq
Users are unable to provide special characters to Bash process so this should
be relatively safe. Pattern match succeeds even when `git stash` omits newline
while rendering commit subjects.
Fixesgit-learning-game/oh-my-git#56
It uses a Perl script to keep a bash session open, which attaches to a
port the game keeps open. This avoids having to start a new Git bash for
each command, improving the execution speed by a factor of 3-4.