We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a3c5cc commit 67dd07eCopy full SHA for 67dd07e
t/t3920-crlf-messages.sh
@@ -97,7 +97,7 @@ test_expect_success 'branch: --verbose works with messages using CRLF' '
97
git branch -v >tmp &&
98
# Remove first two columns, and the line for the currently checked out branch
99
current=$(git branch --show-current) &&
100
- grep -v $current <tmp | awk "{\$1=\$2=\"\"}1" >actual &&
+ awk "/$current/ { next } { \$1 = \$2 = \"\" } 1" <tmp >actual &&
101
test_cmp expect actual
102
'
103
0 commit comments