rugged 0.24.0b12 → 0.24.0b13

Sign up to get free protection for your applications and to get access to all the features.
@@ -685,8 +685,8 @@ static int merge_indexes(
685
685
  iter_opts.flags = GIT_ITERATOR_DONT_IGNORE_CASE;
686
686
 
687
687
  if ((error = git_iterator_for_tree(&ancestor, ancestor_tree, &iter_opts)) < 0 ||
688
- (error = git_iterator_for_index(&ours, ours_index, &iter_opts)) < 0 ||
689
- (error = git_iterator_for_index(&theirs, theirs_index, &iter_opts)) < 0)
688
+ (error = git_iterator_for_index(&ours, repo, ours_index, &iter_opts)) < 0 ||
689
+ (error = git_iterator_for_index(&theirs, repo, theirs_index, &iter_opts)) < 0)
690
690
  goto done;
691
691
 
692
692
  error = git_merge__iterators(out, repo, ancestor, ours, theirs, NULL);
@@ -712,7 +712,7 @@ static int merge_index_and_tree(
712
712
  iter_opts.flags = GIT_ITERATOR_DONT_IGNORE_CASE;
713
713
 
714
714
  if ((error = git_iterator_for_tree(&ancestor, ancestor_tree, &iter_opts)) < 0 ||
715
- (error = git_iterator_for_index(&ours, ours_index, &iter_opts)) < 0 ||
715
+ (error = git_iterator_for_index(&ours, repo, ours_index, &iter_opts)) < 0 ||
716
716
  (error = git_iterator_for_tree(&theirs, theirs_tree, &iter_opts)) < 0)
717
717
  goto done;
718
718
 
@@ -728,7 +728,7 @@ done:
728
728
  static void normalize_apply_options(
729
729
  git_stash_apply_options *opts,
730
730
  const git_stash_apply_options *given_apply_opts)
731
- {
731
+ {
732
732
  if (given_apply_opts != NULL) {
733
733
  memcpy(opts, given_apply_opts, sizeof(git_stash_apply_options));
734
734
  } else {
@@ -327,7 +327,7 @@ static int submodules_from_index(git_strmap *map, git_index *idx, git_config *cf
327
327
  const git_index_entry *entry;
328
328
  git_buf name = GIT_BUF_INIT;
329
329
 
330
- if ((error = git_iterator_for_index(&i, idx, NULL)) < 0)
330
+ if ((error = git_iterator_for_index(&i, git_index_owner(idx), idx, NULL)) < 0)
331
331
  return error;
332
332
 
333
333
  while (!(error = git_iterator_advance(&entry, i))) {
@@ -1037,7 +1037,7 @@ static int submodule_repo_create(
1037
1037
 
1038
1038
  /**
1039
1039
  * Repodir: path to the sub-repo. sub-repo goes in:
1040
- * <repo-dir>/modules/<name>/ with a gitlink in the
1040
+ * <repo-dir>/modules/<name>/ with a gitlink in the
1041
1041
  * sub-repo workdir directory to that repository.
1042
1042
  */
1043
1043
  error = git_buf_join3(
@@ -1154,7 +1154,7 @@ int git_submodule_update(git_submodule *sm, int init, git_submodule_update_optio
1154
1154
  clone_options.repository_cb_payload = sm;
1155
1155
 
1156
1156
  /*
1157
- * Do not perform checkout as part of clone, instead we
1157
+ * Do not perform checkout as part of clone, instead we
1158
1158
  * will checkout the specific commit manually.
1159
1159
  */
1160
1160
  clone_options.checkout_opts.checkout_strategy = GIT_CHECKOUT_NONE;
@@ -53,10 +53,15 @@ static const int no_check_cert_flags = SECURITY_FLAG_IGNORE_CERT_CN_INVALID |
53
53
  SECURITY_FLAG_IGNORE_UNKNOWN_CA;
54
54
 
55
55
  #if defined(__MINGW32__)
56
- const CLSID CLSID_InternetSecurityManager = { 0x7B8A2D94, 0x0AC9, 0x11D1,
56
+ static const CLSID CLSID_InternetSecurityManager_mingw =
57
+ { 0x7B8A2D94, 0x0AC9, 0x11D1,
57
58
  { 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4 } };
58
- const IID IID_IInternetSecurityManager = { 0x79EAC9EE, 0xBAF9, 0x11CE,
59
+ static const IID IID_IInternetSecurityManager_mingw =
60
+ { 0x79EAC9EE, 0xBAF9, 0x11CE,
59
61
  { 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B } };
62
+
63
+ # define CLSID_InternetSecurityManager CLSID_InternetSecurityManager_mingw
64
+ # define IID_IInternetSecurityManager IID_IInternetSecurityManager_mingw
60
65
  #endif
61
66
 
62
67
  #define OWNING_SUBTRANSPORT(s) ((winhttp_subtransport *)(s)->parent.subtransport)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugged
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0b12
4
+ version: 0.24.0b13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-25 00:00:00.000000000 Z
12
+ date: 2016-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
@@ -83,6 +83,7 @@ files:
83
83
  - ext/rugged/rugged_note.c
84
84
  - ext/rugged/rugged_object.c
85
85
  - ext/rugged/rugged_patch.c
86
+ - ext/rugged/rugged_rebase.c
86
87
  - ext/rugged/rugged_reference.c
87
88
  - ext/rugged/rugged_reference_collection.c
88
89
  - ext/rugged/rugged_remote.c