mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
Force grep command to use UTF-8 locale in solution for 'reorder' level
This commit is contained in:
parent
ec9b467cc6
commit
b99510dea7
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ git commit -am "Put on shirt"
|
||||||
[win]
|
[win]
|
||||||
|
|
||||||
# Reorder the commits to dress yourself in the correct way
|
# Reorder the commits to dress yourself in the correct way
|
||||||
{ git log main --oneline | grep -Pz "shoes[\s\S]*pants[\s\S]*underwear"; } && { test "$(git log main --oneline | wc -l)" -eq 5; }
|
{ git log main --oneline | LC_ALL=en_US.utf8 grep -Pz "shoes[\s\S]*pants[\s\S]*underwear"; } && { test "$(git log main --oneline | wc -l)" -eq 5; }
|
||||||
|
|
||||||
[congrats]
|
[congrats]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue