Bug Report
Describe the current, buggy behavior
The code that detects VCS plugin installs is buggy, often on sites that don't have any plugins installed using git checkout the flag --include-vcs is required to update plugins.
For example wp-piwik includes a empty .gitignore file and I think this might trigger the need for --include-vcs?
Describe what you would expect as the correct outcome
Better detection of git checked out plugins.
Let us know what environment you are running this on
wp cli info
OS: Linux 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
Shell: /bin/bash
PHP binary: /usr/bin/php8.3
PHP version: 8.3.33
PHP memory limit: -1
php.ini used: /etc/php/8.3/cli/php.ini
MySQL binary: /usr/bin/mariadb
MySQL version: mariadb from 11.8.6-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
SQL modes: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: phar:///usr/local/bin/wp
WP-CLI packages dir: /home/weblog/.wp-cli/packages/
WP-CLI cache dir: /home/weblog/.wp-cli/cache
WP-CLI global config: /home/weblog/.wp-cli/config.yml
WP-CLI project config:
WP-CLI version: 2.13.0-alpha-5315443
Bug Report
Describe the current, buggy behavior
The code that detects VCS plugin installs is buggy, often on sites that don't have any plugins installed using
git checkoutthe flag--include-vcsis required to update plugins.For example wp-piwik includes a empty
.gitignorefile and I think this might trigger the need for--include-vcs?Describe what you would expect as the correct outcome
Better detection of git checked out plugins.
Let us know what environment you are running this on