Patch Changes
-
#1788
f95c1f8- Another fix for making sure lint-staged adds task modifications correctly to the commit in the following cases:- after editing
<file>it is staged withgit add <file>, and then committed withgit commit - after editing
<file>it is committed withgit commit --allwithout explicitgit add - after editing
<file>it is committed withgit commit <pathspec>without explicitgit add
There's new test cases which actually setup the Git
pre_commithook to run lint-staged and verify them. These issues started in v17.0.0 when trying to improve support for committig without having explicitly staged files. - after editing