Permalink
Browse files

Add Repo.openIndex

  • Loading branch information...
1 parent 9044ac3 commit 967b414293033e25d2a929f838fd610784786ed0 @tbranyen tbranyen committed Jul 16, 2014
Showing with 9 additions and 0 deletions.
  1. +4 −0 generate/descriptor.json
  2. +5 −0 lib/repository.js
View
@@ -528,6 +528,10 @@
"ignore": false
},
+ "git_repository_index": {
+ "ignore": false
+ },
+
"git_repository_init": {
"isConstructorMethod": true,
"ignore": false
View
@@ -9,6 +9,11 @@ var Commit = require("./commit");
var TreeBuilder = NodeGit.Treebuilder;
var Repository = NodeGit.Repository;
+Object.defineProperty(Repository.prototype, "openIndex", {
+ enumerable: false,
+ value: Repository.prototype.index
+});
+
/**
* Look up a branch"s most recent commit.
*

0 comments on commit 967b414

Please sign in to comment.