Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/commit.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand All @@ -23,7 +23,7 @@ using namespace v8;
/**
* Class wrapper for libgit2 git_commit
*/
class GitCommit : public EventEmitter {
class GitCommit : public ObjectWrap {
public:
/**
* v8::FunctionTemplate used to create Node.js constructor
Expand Down
2 changes: 1 addition & 1 deletion include/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define ERROR_H

#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
3 changes: 1 addition & 2 deletions include/index.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
#define INDEX_H

#include <node.h>
#include <node_events.h>

#include <node_object_wrap.h>
#include "../vendor/libgit2/include/git2.h"

using namespace node;
Expand Down
4 changes: 2 additions & 2 deletions include/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand All @@ -19,7 +19,7 @@ using namespace node;
/**
* Class wrapper for libgit2 git_object
*/
class GitObject : public EventEmitter {
class GitObject : public ObjectWrap {
public:
/**
* v8::FunctionTemplate used to create Node.js constructor
Expand Down
2 changes: 1 addition & 1 deletion include/odb.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define ODB_H

#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion include/odb_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define ODB_BACKEND_H

#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
4 changes: 2 additions & 2 deletions include/oid.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

using namespace node;
using namespace v8;

class GitOid : public EventEmitter {
class GitOid : public ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor_template;
static void Initialize (Handle<v8::Object> target);
Expand Down
4 changes: 2 additions & 2 deletions include/reference.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>
#include <string>

#include "../vendor/libgit2/include/git2.h"
Expand All @@ -18,7 +18,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>
using namespace node;
using namespace v8;

class GitReference : public EventEmitter {
class GitReference : public ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor_template;
static void Initialize(Handle<v8::Object> target);
Expand Down
4 changes: 2 additions & 2 deletions include/repo.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>
#include <string>

#include "../vendor/libgit2/include/git2.h"
Expand All @@ -17,7 +17,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>
using namespace node;
using namespace v8;

class GitRepo : public EventEmitter {
class GitRepo : public ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor_template;
static void Initialize(Handle<v8::Object> target);
Expand Down
4 changes: 2 additions & 2 deletions include/revwalk.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand All @@ -17,7 +17,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>
using namespace node;
using namespace v8;

class GitRevWalk : public EventEmitter {
class GitRevWalk : public ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor_template;
static void Initialize(Handle<v8::Object> target);
Expand Down
4 changes: 2 additions & 2 deletions include/sig.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand All @@ -16,7 +16,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>
using namespace v8;
using namespace node;

class GitSig : public EventEmitter {
class GitSig : public ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor_template;
static void Initialize(Handle<v8::Object> target);
Expand Down
2 changes: 1 addition & 1 deletion include/tag.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define TAG_H

#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
4 changes: 2 additions & 2 deletions include/tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>
#include <string>

#include "../vendor/libgit2/include/git2.h"
Expand All @@ -21,7 +21,7 @@ using namespace node;
/**
* Class wrapper for libgit2 git_tree
*/
class GitTree : public EventEmitter {
class GitTree : public ObjectWrap {
public:
/**
* v8::FunctionTemplate used to create Node.js constructor
Expand Down
4 changes: 2 additions & 2 deletions include/tree_entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand All @@ -22,7 +22,7 @@ using namespace node;
/**
* Class wrapper for libgit2 git_tree_entry
*/
class GitTreeEntry : EventEmitter {
class GitTreeEntry : ObjectWrap {
public:
/**
* v8::FunctionTemplate used to create Node.js constructor
Expand Down
2 changes: 1 addition & 1 deletion src/base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion src/commit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <string.h>
#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion src/error.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion src/object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion src/oid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion src/reference.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>
#include <string>

#include "../vendor/libgit2/include/git2.h"
Expand Down
2 changes: 1 addition & 1 deletion src/repo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>
#include <string>

#include "../vendor/libgit2/include/git2.h"
Expand Down
2 changes: 1 addition & 1 deletion src/revwalk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion src/sig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion src/tree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down
2 changes: 1 addition & 1 deletion src/tree_entry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>

#include <v8.h>
#include <node.h>
#include <node_events.h>
#include <node_object_wrap.h>

#include "../vendor/libgit2/include/git2.h"

Expand Down