Skip to content

Add operation complains about a missing index file #14

Open
@CMCDragonkai

Description

@CMCDragonkai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions