fix: --only-changed
should include staged files
#9799
Merged
--only-changed
should include staged files
#9799