Optimize staging files in git repo

Git staging for ~40000 files takes more than 2 hours with the current code.

This MR passes the files list directly to the stage method. Doing this increase drastically staging speed. 40000 files are now staging in just under 4 minutes.

Merge request reports

Loading