FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

enable Index.addAll and related · Issue #131 · nodegit/nodegit · GitHub

Repository navigation

enable Index.addAll and related #131

Description

tree.diffWorkDir only returns changes to existing files. It does not seem return any new files added. Basically, I want something that will act like git add -A . from the base working directory.

Also, tree.diffWorkDir only seems to work once there's been an initial commit. Is there a better way to add all the files in a directory to the index, than walking recursively through the directory structure and calling index.addByPath for each file?

Activity

tsamsonWA commented on Sep 25, 2014

+1

I'm having the same issue.

changed the title [-]tree.diffWorkDir include new files[/-] [+]enable Index.addAll and related[/+] on Nov 26, 2014

maxkorp commented on Nov 26, 2014

Collaborator

This isn't in yet, but should be available soon.

added this to the milestone on Nov 26, 2014

maxkorp commented on Dec 5, 2014

Collaborator

We need to make promisify-node able to take a filter function that also can fall back to the default, if needed, to support this.

tsamsonWA commented on Dec 5, 2014

I may be out of my depth in responding to this comment, but I've used Q (https://www.npmjs.org/package/q) to promisify-node with great success. Might be something worth looking at.

johnhaley81 commented on Dec 5, 2014

Collaborator

We did try to go to Q on our 0.2.0 release but it didn't work out for us. :(

johnhaley81 commented on Feb 18, 2015

Collaborator

This is being implemented now in #413

johnhaley81 commented on Feb 19, 2015

Collaborator

This is now merged into master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL