SamyPesse/gitkit-js

Add operation complains about a missing index file

Opened this issue · 0 comments

The add operation should create the .git/index file if it doesn't already exist.

It is due to this call from the WorkingUtils.add function:

https://github.com/SamyPesse/gitkit-js/blob/master/lib/models/workingIndex.js#L82-L94