andkirby / commithook

CommitHooks code validation and auto-formatting commit message.
GNU General Public License v3.0
7 stars 3 forks source link

Re-add files into GIT to refresh GIT cache #113

Open andkirby opened 8 years ago

andkirby commented 8 years ago

Problem The code validation with GIT but it doesn't support git cache. It means if you added a file (git add file.php), changed it, and trying to commit (without adding it into GIT cache). In commit, of course, you will get code from cache but validators will validate your real file.