mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 05:23:32 +03:00
Merge pull request #59 from mundifex/stash-deadlock-fix
Fix deadlock in stash levels
This commit is contained in:
commit
1606e0565e
@ -34,12 +34,12 @@ while(true) {
|
||||
STDOUT->flush();
|
||||
|
||||
$s = "";
|
||||
$command = $s2 . "\necho MAGIC\n";
|
||||
$command = $s2 . "\necho -e \"\\v\"\n";
|
||||
print $in $command;
|
||||
|
||||
inner_while: while (true) {
|
||||
$line = <$out>;
|
||||
if ($line eq "MAGIC\n") {
|
||||
if ($line =~ s/\cK//) {
|
||||
STDOUT->flush();
|
||||
last inner_while;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user