puppetlabs_spec_helper
puppetlabs_spec_helper copied to clipboard
Fix check:git_ignore rake task for git >= 2.32.0
WHen running tests I noticed this:
fatal: ls-files -i must be used with either -o or -c
However, rake proceeded so it wasn't failing.
This isn't a complete PR, but I wanted to at least make this obvious and so I wouldn't forget.
For me this also always fails with fatal: ls-files -i must be used with either -o or -c and an exitcode of 128. I think the command should be git ls-files --ignored --exclude-standard --cached
I included https://github.com/puppetlabs/puppetlabs_spec_helper/pull/351 now.
Looking like this will go in rather than #351.
Again, will need rebasing as the changes come in.
On a second look, this can actually go in now if you are happy @ekohl ?
I did a trivial rebase and would be happy if this was merged & released.