mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Fix git check in verify generated files (GH-15363)
Git 2.46.0 accidentally broke git diff --exit-code for files flagged with -diff. Add the -a flag to restore the previous behavior. This issue is already fixed in gits next branch.
This commit is contained in:
parent
39bacafeed
commit
9be52dcd62
@ -12,4 +12,5 @@ runs:
|
||||
ext/tokenizer/tokenizer_data_gen.php
|
||||
build/gen_stub.php -f
|
||||
build/gen_stub.php --generate-optimizer-info
|
||||
git add . -N && git diff --exit-code
|
||||
# Use the -a flag for a bug in git 2.46.0, which doesn't consider changed -diff files.
|
||||
git add . -N && git diff -a --exit-code
|
||||
|
Loading…
Reference in New Issue
Block a user