Merge branch 'maint-1.5.1' into maint
* maint-1.5.1: git-status: respect core.excludesFile SubmittingPatches: mention older C compiler compatibility git-daemon: don't ignore pid-file write failure
This commit is contained in:
@ -79,4 +79,24 @@ test_expect_success \
|
||||
>output &&
|
||||
git diff expect output'
|
||||
|
||||
cat > excludes-file << EOF
|
||||
*.[1-8]
|
||||
e*
|
||||
EOF
|
||||
|
||||
git-config core.excludesFile excludes-file
|
||||
|
||||
git-runstatus | grep "^# " > output
|
||||
|
||||
cat > expect << EOF
|
||||
# .gitignore
|
||||
# a.6
|
||||
# one/
|
||||
# output
|
||||
# three/
|
||||
EOF
|
||||
|
||||
test_expect_success 'git-status honours core.excludesfile' \
|
||||
'diff -u expect output'
|
||||
|
||||
test_done
|
||||
|
Reference in New Issue
Block a user