FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update to libgit2 v0.22.1 by johnhaley81 · Pull Request #390 · nodegit/nodegit · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1e65936
Sorted callbacks.json
Feb 7, 2015
7d2f357
Point to libgit2 0.22.1
Feb 7, 2015
fcde576
Starting to fix update errors
Feb 7, 2015
841740b
Need to use our fork of libgit2 for the time being
Feb 11, 2015
969452a
Fixed more build errors
Feb 11, 2015
85c94a3
Value is ambigious now, must use namespace in declaration
Feb 11, 2015
0fd2f2f
Fixed bug with generate code for fixed length strings
Feb 12, 2015
02729b9
Fixed git_cert_x509
Feb 12, 2015
dec34ba
Fixed git_cred_username
Feb 12, 2015
3304e4c
Ignoring describe for right now
Feb 12, 2015
2fa3150
Fixed git_openssl
Feb 12, 2015
22804cb
Payloads no longer need to be named `payload`
Feb 12, 2015
902b837
Fixed returns for async functions when there is only 1 return
Feb 12, 2015
054d646
Fixed `git_remote`
Feb 12, 2015
334512c
Ignoring `git_smart_subtransport_definition` for now
Feb 12, 2015
ed5c6a8
Ignore `git_stream` for right now
Feb 12, 2015
1314959
Fixed enum definitions
Feb 12, 2015
8acbd9a
Fixed linking error with libgit2
Feb 12, 2015
22416c4
Ignoring `git_describe_strategy_t` for now
Feb 12, 2015
8377f42
`git_thread_init` is now `git_libgit2_init`
Feb 12, 2015
3f0eaee
Revert "Fixed returns for async functions when there is only 1 return"
Feb 12, 2015
f2c7162
Ignoring `git_remote_set_transport` for right now
Feb 12, 2015
f68fa91
Added the rest of the unlinked libgit2 files
Feb 12, 2015
adcd8e0
Fixed like 20 tests with 1 line change. Awwww yeah.
Feb 13, 2015
f0119c2
Oid object now has allocfmt for backwards compatibility
Feb 13, 2015
8960812
Fixed `git_tree_entry`
Feb 13, 2015
2d461d0
`git_remote_load` is renamed to `git_remote_lookup`
Feb 13, 2015
25d7d88
Updated clone tests
Feb 13, 2015
b8c1203
Updated clone examples to use the new cert check API
Feb 13, 2015
3096d0f
Fixed remote tests
Feb 13, 2015
3885887
Removed `it.only` from clone tests
Feb 13, 2015
7c880b1
Implement new Remote.delete functionality
tbranyen Feb 14, 2015
8784b08
Fix remote fetch test
tbranyen Feb 14, 2015
de6772e
Fixed remote tests
Feb 14, 2015
7e588e2
Fixed build on windows
Feb 17, 2015
File filter

Filter by extension

Filter by extension .cc  (8) .gyp  (1) .h  (3) .js  (14) .json  (6) All 5 file types selected
Only manifest files
Deleted files Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
10 changes: 9 additions & 1 deletion examples/clone.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ fse.remove(path).then(function() {
nodegit.Clone.clone(
"https://github.com/nodegit/nodegit.git",
path,
{ ignoreCertErrors: 1})
{
remoteCallbacks: {
certificateCheck: function() {
// github will fail cert check on some OSX machines
// this overrides that check
return 1;
}
}
})
.then(function(repo) {
return repo.getCommit("59b20b8d5c6ff8d09518454d4dd8b7b30f095ab5");
})
Expand Down
4 changes: 3 additions & 1 deletion examples/cloneFromGithubWith2Factor.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ var opts = { ignoreCertErrors: 1};
var repoUrl = "https://github.com/" + repoOwner + "/" + repoName + ".git";

var opts = {
ignoreCertErrors: 1,
remoteCallbacks: {
credentials: function() {
return nodegit.Cred.userpassPlaintextNew (token, "x-oauth-basic");
},
certificateCheck: function() {
return 1;
}
}
};
Expand Down
5 changes: 4 additions & 1 deletion examples/pull.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ nodegit.Repository.open(path.resolve(__dirname, repoDir))
return repository.fetchAll({
credentials: function(url, userName) {
return nodegit.Cred.sshKeyFromAgent(userName);
},
certificateCheck: function() {
return 1;
}
}, true);
});
})
// Now that we're finished fetching, go ahead and merge our local branch
// with the new one
Expand Down
Loading

Back | FazBrowse Home | New Git URL