fatal: ls-files -i must be used with either -o or -c with Git 2.32.0

Viewed 232

Using Git 2.32.0, I'm getting an error when I run the following command to list files that are excluded by a rule in .gitignore, but committed to the repository:

$ git ls-files -i --exclude-standard
fatal: ls-files -i must be used with either -o or -c

The same command works fine with Git 2.31.1 (and below)

Is this expected? It seems odd a command that has worked forever would break in a minor version update. The help page also still lists -c as the default, so I'm wondering if I now have to always also add -c to the command?

0 Answers
Related