Permalink
Browse files

Remove `packed` property from reference

  • Loading branch information...
1 parent 9904e81 commit 71b12b8d81dc5ee6b0388db402b045de8d8d5d15 @ben ben committed Jul 1, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/repository.cc
View
@@ -47,7 +47,6 @@ static Persistent<String> submodules_symbol;
static Persistent<String> ref_name_symbol;
static Persistent<String> ref_direct_symbol;
-static Persistent<String> ref_packed_symbol;
static Persistent<String> ref_target_symbol;
static Persistent<String> object_id_symbol;
@@ -225,7 +224,6 @@ void Repository::Init(Handle<Object> target) {
// Reference symbols
ref_name_symbol = NODE_PSYMBOL("name");
ref_direct_symbol = NODE_PSYMBOL("direct");
- ref_packed_symbol = NODE_PSYMBOL("packed");
ref_target_symbol = NODE_PSYMBOL("target");
// Object symbols
@@ -601,7 +599,6 @@ Handle<Object> Repository::CreateReferenceObject(git_reference *ref) {
git_ref_t refType = git_reference_type(ref);
obj->Set(ref_name_symbol, CastToJS(git_reference_name(ref)));
obj->Set(ref_direct_symbol, CastToJS<bool>(refType == GIT_REF_OID));
- obj->Set(ref_packed_symbol, CastToJS<bool>(git_reference_is_packed(ref)));
if(refType == GIT_REF_OID) {
obj->Set(ref_target_symbol, CastToJS(git_reference_target(ref)));

0 comments on commit 71b12b8

Please sign in to comment.