Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Codegen#79

Merged
tbranyen merged 28 commits intonodegit:wipnodegit/nodegit:wipfrom
nkallen:codegennkallen/nodegit:codegenCopy head branch name to clipboard
Aug 5, 2013
Merged

Codegen#79
tbranyen merged 28 commits intonodegit:wipnodegit/nodegit:wipfrom
nkallen:codegennkallen/nodegit:codegenCopy head branch name to clipboard

Conversation

@nkallen
Copy link
Contributor

@nkallen nkallen commented Jul 15, 2013

Codgen C++ Glue

@tbranyen
Copy link
Member

Yup failing because of the issue I mentioned before:

"AssertionError: 'The .git file at '/etc/hosts' is malformed' == 'The .git file at '/private/etc/hosts' is malformed'".

Should be an easy fix. I can look into it tomorrow.

@tbranyen
Copy link
Member

@nkallen that fix will still fail since /private doesn't exist in Linux or Windows.

Maybe this?

b/test/repo.js
index fa6bcd3..886dee0 100644
--- a/test/repo.js
+++ b/test/repo.js
@@ -11,8 +11,8 @@ exports.open = function(test){
   test.expect(2);

   // Test invalid repository
-  git.Repo.open('/private/etc/hosts', function(error, repository) {
-    test.equals(error.message, "The `.git` file at '/private/etc/hosts' is malformed");
+  git.Repo.open('../templates', function(error, repository) {
+    test.equals(error.message, "Could not find repository from '../templates'");

     // Test valid repository
     git.Repo.open('../.git', function(error, repository) {

@nkallen
Copy link
Contributor Author

nkallen commented Aug 1, 2013

Do you guys have any comments? Should I just merge this into the WIP?

@tbranyen
Copy link
Member

tbranyen commented Aug 2, 2013

Hey @nkallen looks good to me. 👍

@tbranyen
Copy link
Member

tbranyen commented Aug 3, 2013

I've forked a branch from your's in anticipation and started rewriting our installer to be cross platform with Windows.

tbranyen added a commit that referenced this pull request Aug 5, 2013
@tbranyen tbranyen merged commit 8076e2d into nodegit:wip Aug 5, 2013
@faceleg
Copy link
Collaborator

faceleg commented Aug 6, 2013

This is great!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.