Merge branch 'hu/cherry-pick-previous-branch'
[gitweb.git] / t / t3001-ls-files-others-exclude.sh
index f0421c09c700bc1203d2ef563c54157e94c83b33..b2798feef7316e74584058f594e97af01cb5065e 100755 (executable)
@@ -115,7 +115,7 @@ EOF
 
 git config core.excludesFile excludes-file
 
-git status | grep "^#  " > output
+git -c status.displayCommentPrefix=true status | grep "^#      " > output
 
 cat > expect << EOF
 #      .gitignore