Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge http://github.com/dodo/node-git

  • Loading branch information...
commit 718e0ce8459ff8ac95148f766d1a7fb0fae5dfcf 2 parents e72add5 + 3251091
payload payload authored
7 benchmarks/benchmark.js
View
@@ -1,10 +1,9 @@
-require.paths.unshift("../lib", "./external-libs/node-compress");
-
+
var Repo = require('git/repo').Repo,
sys = require('sys'),
fs = require('fs'),
- exec = require('child_process').exec;
-
+ exec = require('child_process').exec;
+
var number_of_executions = 30;
var create_tmp_directory = function(clone_path, callback) {
7 install.sh
View
@@ -1,7 +0,0 @@
-cd ./external-libs/node-compress
-rm -rf ./build
-rm compress.node
-node-waf configure
-node-waf build
-cd ..
-cd ..
2  lib/git/index.js
View
@@ -38,7 +38,7 @@
[
'compress'
].forEach(function(path){
- var module = require('../../external-libs/node-compress/' + path);
+ var module = require('compress');
for (var i in module)
exports[i] = module[i];
});
2  test/diff/test_diff.js
View
@@ -1,5 +1,3 @@
-require.paths.unshift("./spec/lib", "./lib", "./external-libs/node-httpclient/lib", "./external-libs/node-xml/lib",
- "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_actor.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_all.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing", "./test", "./external-libs/node-compress");
var sys = require('sys');
1  test/test_blame.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_blame_tree.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_blob.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_commit.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_commit_stats.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_commit_write.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_config.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_diff.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_file_index.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_git.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_git_alt.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_git_basic.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_git_index.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_git_iv2.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_head.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_index_status.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_merge.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_raw.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_remote.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_repo.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_submodule.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_tag.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
1  test/test_tree.js
View
@@ -1,4 +1,3 @@
-require.paths.unshift("./lib", "./external-libs/node-async-testing");
var TestSuite = require('async_testing').TestSuite,
sys = require('sys'),
Please sign in to comment.
Something went wrong with that request. Please try again.