Commit graph

7 commits

Author SHA1 Message Date
mundifex
c2a2f87f4c Fix deadlock in stash levels
- 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.

Fixes git-learning-game/oh-my-git#56
2021-03-26 21:34:22 -05:00
blinry
a60b2f9afb Directly run the command in the shell 2021-03-04 15:03:05 +01:00
blinry
16edb843b7 Add a mutex and fix the length in the net-test script 2021-03-04 15:03:05 +01:00
blinry
1b7bb246d1 Fixes for the new shell mechanism on Windows 2021-03-04 15:03:05 +01:00
blinry
53c249d059 Start working on a better shell mechanism for Windows
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.
2021-03-04 15:03:05 +01:00
Sebastian Morr
2a890c7f8a Fix TCPServer node, by reading -1 bytes 2020-09-22 18:53:50 +02:00
Sebastian Morr
7df489baf8 Experimental TCP Server node 2020-09-15 09:42:06 +02:00