rugged 0.21.0 → 0.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rugged/version.rb +1 -1
- data/vendor/libgit2/include/git2/revert.h +1 -1
- data/vendor/libgit2/include/git2/transport.h +12 -10
- data/vendor/libgit2/include/git2/tree.h +2 -4
- data/vendor/libgit2/include/git2/version.h +2 -2
- data/vendor/libgit2/include/git2.h +1 -0
- data/vendor/libgit2/src/array.h +1 -1
- data/vendor/libgit2/src/buf_text.c +5 -9
- data/vendor/libgit2/src/buf_text.h +2 -3
- data/vendor/libgit2/src/cc-compat.h +8 -0
- data/vendor/libgit2/src/checkout.c +21 -3
- data/vendor/libgit2/src/config_file.c +11 -6
- data/vendor/libgit2/src/crlf.c +1 -2
- data/vendor/libgit2/src/diff_patch.c +1 -0
- data/vendor/libgit2/src/filebuf.c +2 -0
- data/vendor/libgit2/src/filter.c +11 -2
- data/vendor/libgit2/src/global.c +30 -2
- data/vendor/libgit2/src/index.c +29 -24
- data/vendor/libgit2/src/indexer.c +2 -9
- data/vendor/libgit2/src/merge.c +11 -3
- data/vendor/libgit2/src/mwindow.c +8 -117
- data/vendor/libgit2/src/mwindow.h +1 -9
- data/vendor/libgit2/src/netops.c +4 -1
- data/vendor/libgit2/src/odb_pack.c +3 -6
- data/vendor/libgit2/src/pack.c +5 -22
- data/vendor/libgit2/src/pack.h +0 -3
- data/vendor/libgit2/src/path.c +26 -16
- data/vendor/libgit2/src/pool.c +2 -2
- data/vendor/libgit2/src/refspec.c +42 -18
- data/vendor/libgit2/src/remote.c +13 -2
- data/vendor/libgit2/src/repository.c +3 -1
- data/vendor/libgit2/src/revwalk.c +0 -3
- data/vendor/libgit2/src/stash.c +5 -3
- data/vendor/libgit2/src/tag.c +3 -2
- data/vendor/libgit2/src/transports/http.c +20 -4
- data/vendor/libgit2/src/transports/ssh.c +23 -4
- data/vendor/libgit2/src/tree.c +60 -64
- data/vendor/libgit2/src/tree.h +3 -2
- data/vendor/libgit2/src/win32/posix_w32.c +14 -29
- metadata +68 -68
data/vendor/libgit2/src/tree.c
CHANGED
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
#define DEFAULT_TREE_SIZE 16
|
|
18
18
|
#define MAX_FILEMODE_BYTES 6
|
|
19
19
|
|
|
20
|
-
GIT__USE_STRMAP;
|
|
21
|
-
|
|
22
20
|
static bool valid_filemode(const int filemode)
|
|
23
21
|
{
|
|
24
22
|
return (filemode == GIT_FILEMODE_TREE
|
|
@@ -367,8 +365,7 @@ size_t git_tree_entrycount(const git_tree *tree)
|
|
|
367
365
|
unsigned int git_treebuilder_entrycount(git_treebuilder *bld)
|
|
368
366
|
{
|
|
369
367
|
assert(bld);
|
|
370
|
-
|
|
371
|
-
return git_strmap_num_entries(bld->map);
|
|
368
|
+
return (unsigned int)bld->entrycount;
|
|
372
369
|
}
|
|
373
370
|
|
|
374
371
|
static int tree_error(const char *str, const char *path)
|
|
@@ -453,7 +450,6 @@ static int append_entry(
|
|
|
453
450
|
git_filemode_t filemode)
|
|
454
451
|
{
|
|
455
452
|
git_tree_entry *entry;
|
|
456
|
-
int error = 0;
|
|
457
453
|
|
|
458
454
|
if (!valid_entry_name(filename))
|
|
459
455
|
return tree_error("Failed to insert entry. Invalid name for a tree entry", filename);
|
|
@@ -464,13 +460,12 @@ static int append_entry(
|
|
|
464
460
|
git_oid_cpy(&entry->oid, id);
|
|
465
461
|
entry->attr = (uint16_t)filemode;
|
|
466
462
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
git_tree_entry_free(entry);
|
|
470
|
-
giterr_set(GITERR_TREE, "failed to append entry %s to the tree builder", filename);
|
|
463
|
+
if (git_vector_insert_sorted(&bld->entries, entry, NULL) < 0) {
|
|
464
|
+
git__free(entry);
|
|
471
465
|
return -1;
|
|
472
466
|
}
|
|
473
467
|
|
|
468
|
+
bld->entrycount++;
|
|
474
469
|
return 0;
|
|
475
470
|
}
|
|
476
471
|
|
|
@@ -615,17 +610,18 @@ int git_tree__write_index(
|
|
|
615
610
|
int git_treebuilder_create(git_treebuilder **builder_p, const git_tree *source)
|
|
616
611
|
{
|
|
617
612
|
git_treebuilder *bld;
|
|
618
|
-
size_t i;
|
|
613
|
+
size_t i, source_entries = DEFAULT_TREE_SIZE;
|
|
619
614
|
|
|
620
615
|
assert(builder_p);
|
|
621
616
|
|
|
622
617
|
bld = git__calloc(1, sizeof(git_treebuilder));
|
|
623
618
|
GITERR_CHECK_ALLOC(bld);
|
|
624
619
|
|
|
625
|
-
if (
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
620
|
+
if (source != NULL)
|
|
621
|
+
source_entries = source->entries.length;
|
|
622
|
+
|
|
623
|
+
if (git_vector_init(&bld->entries, source_entries, entry_sort_cmp) < 0)
|
|
624
|
+
goto on_error;
|
|
629
625
|
|
|
630
626
|
if (source != NULL) {
|
|
631
627
|
git_tree_entry *entry_src;
|
|
@@ -655,8 +651,7 @@ int git_treebuilder_insert(
|
|
|
655
651
|
git_filemode_t filemode)
|
|
656
652
|
{
|
|
657
653
|
git_tree_entry *entry;
|
|
658
|
-
|
|
659
|
-
git_strmap_iter pos;
|
|
654
|
+
size_t pos;
|
|
660
655
|
|
|
661
656
|
assert(bld && id && filename);
|
|
662
657
|
|
|
@@ -666,24 +661,29 @@ int git_treebuilder_insert(
|
|
|
666
661
|
if (!valid_entry_name(filename))
|
|
667
662
|
return tree_error("Failed to insert entry. Invalid name for a tree entry", filename);
|
|
668
663
|
|
|
669
|
-
pos
|
|
670
|
-
|
|
671
|
-
|
|
664
|
+
if (!tree_key_search(&pos, &bld->entries, filename, strlen(filename))) {
|
|
665
|
+
entry = git_vector_get(&bld->entries, pos);
|
|
666
|
+
if (entry->removed) {
|
|
667
|
+
entry->removed = 0;
|
|
668
|
+
bld->entrycount++;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
entry->attr = filemode;
|
|
672
|
+
git_oid_cpy(&entry->oid, id);
|
|
672
673
|
} else {
|
|
673
674
|
entry = alloc_entry(filename);
|
|
674
675
|
GITERR_CHECK_ALLOC(entry);
|
|
675
676
|
|
|
676
|
-
|
|
677
|
+
entry->attr = filemode;
|
|
678
|
+
git_oid_cpy(&entry->oid, id);
|
|
677
679
|
|
|
678
|
-
if (
|
|
679
|
-
|
|
680
|
-
giterr_set(GITERR_TREE, "failed to insert %s", filename);
|
|
680
|
+
if (git_vector_insert_sorted(&bld->entries, entry, NULL) < 0) {
|
|
681
|
+
git__free(entry);
|
|
681
682
|
return -1;
|
|
682
683
|
}
|
|
683
|
-
}
|
|
684
684
|
|
|
685
|
-
|
|
686
|
-
|
|
685
|
+
bld->entrycount++;
|
|
686
|
+
}
|
|
687
687
|
|
|
688
688
|
if (entry_out)
|
|
689
689
|
*entry_out = entry;
|
|
@@ -693,14 +693,17 @@ int git_treebuilder_insert(
|
|
|
693
693
|
|
|
694
694
|
static git_tree_entry *treebuilder_get(git_treebuilder *bld, const char *filename)
|
|
695
695
|
{
|
|
696
|
-
|
|
697
|
-
|
|
696
|
+
size_t idx;
|
|
697
|
+
git_tree_entry *entry;
|
|
698
698
|
|
|
699
699
|
assert(bld && filename);
|
|
700
700
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
701
|
+
if (tree_key_search(&idx, &bld->entries, filename, strlen(filename)) < 0)
|
|
702
|
+
return NULL;
|
|
703
|
+
|
|
704
|
+
entry = git_vector_get(&bld->entries, idx);
|
|
705
|
+
if (entry->removed)
|
|
706
|
+
return NULL;
|
|
704
707
|
|
|
705
708
|
return entry;
|
|
706
709
|
}
|
|
@@ -712,44 +715,35 @@ const git_tree_entry *git_treebuilder_get(git_treebuilder *bld, const char *file
|
|
|
712
715
|
|
|
713
716
|
int git_treebuilder_remove(git_treebuilder *bld, const char *filename)
|
|
714
717
|
{
|
|
715
|
-
git_tree_entry *
|
|
718
|
+
git_tree_entry *remove_ptr = treebuilder_get(bld, filename);
|
|
716
719
|
|
|
717
|
-
if (
|
|
720
|
+
if (remove_ptr == NULL || remove_ptr->removed)
|
|
718
721
|
return tree_error("Failed to remove entry. File isn't in the tree", filename);
|
|
719
722
|
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
+
remove_ptr->removed = 1;
|
|
724
|
+
bld->entrycount--;
|
|
723
725
|
return 0;
|
|
724
726
|
}
|
|
725
727
|
|
|
726
728
|
int git_treebuilder_write(git_oid *oid, git_repository *repo, git_treebuilder *bld)
|
|
727
729
|
{
|
|
728
730
|
int error = 0;
|
|
729
|
-
size_t i
|
|
731
|
+
size_t i;
|
|
730
732
|
git_buf tree = GIT_BUF_INIT;
|
|
731
733
|
git_odb *odb;
|
|
732
|
-
git_tree_entry *entry;
|
|
733
|
-
git_vector entries;
|
|
734
734
|
|
|
735
735
|
assert(bld);
|
|
736
736
|
|
|
737
|
-
|
|
738
|
-
if (git_vector_init(&entries, entrycount, entry_sort_cmp) < 0)
|
|
739
|
-
return -1;
|
|
740
|
-
|
|
741
|
-
git_strmap_foreach_value(bld->map, entry, {
|
|
742
|
-
if (git_vector_insert(&entries, entry) < 0)
|
|
743
|
-
return -1;
|
|
744
|
-
});
|
|
745
|
-
|
|
746
|
-
git_vector_sort(&entries);
|
|
737
|
+
git_vector_sort(&bld->entries);
|
|
747
738
|
|
|
748
739
|
/* Grow the buffer beforehand to an estimated size */
|
|
749
|
-
error = git_buf_grow(&tree,
|
|
740
|
+
error = git_buf_grow(&tree, bld->entries.length * 72);
|
|
741
|
+
|
|
742
|
+
for (i = 0; i < bld->entries.length && !error; ++i) {
|
|
743
|
+
git_tree_entry *entry = git_vector_get(&bld->entries, i);
|
|
750
744
|
|
|
751
|
-
|
|
752
|
-
|
|
745
|
+
if (entry->removed)
|
|
746
|
+
continue;
|
|
753
747
|
|
|
754
748
|
git_buf_printf(&tree, "%o ", entry->attr);
|
|
755
749
|
git_buf_put(&tree, entry->filename, entry->filename_len + 1);
|
|
@@ -759,8 +753,6 @@ int git_treebuilder_write(git_oid *oid, git_repository *repo, git_treebuilder *b
|
|
|
759
753
|
error = -1;
|
|
760
754
|
}
|
|
761
755
|
|
|
762
|
-
git_vector_free(&entries);
|
|
763
|
-
|
|
764
756
|
if (!error &&
|
|
765
757
|
!(error = git_repository_odb__weakptr(&odb, repo)))
|
|
766
758
|
error = git_odb_write(oid, odb, tree.ptr, tree.size, GIT_OBJ_TREE);
|
|
@@ -774,27 +766,31 @@ void git_treebuilder_filter(
|
|
|
774
766
|
git_treebuilder_filter_cb filter,
|
|
775
767
|
void *payload)
|
|
776
768
|
{
|
|
777
|
-
|
|
769
|
+
size_t i;
|
|
778
770
|
git_tree_entry *entry;
|
|
779
771
|
|
|
780
772
|
assert(bld && filter);
|
|
781
773
|
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
}
|
|
774
|
+
git_vector_foreach(&bld->entries, i, entry) {
|
|
775
|
+
if (!entry->removed && filter(entry, payload)) {
|
|
776
|
+
entry->removed = 1;
|
|
777
|
+
bld->entrycount--;
|
|
778
|
+
}
|
|
779
|
+
}
|
|
788
780
|
}
|
|
789
781
|
|
|
790
782
|
void git_treebuilder_clear(git_treebuilder *bld)
|
|
791
783
|
{
|
|
784
|
+
size_t i;
|
|
792
785
|
git_tree_entry *e;
|
|
793
786
|
|
|
794
787
|
assert(bld);
|
|
795
788
|
|
|
796
|
-
|
|
797
|
-
|
|
789
|
+
git_vector_foreach(&bld->entries, i, e)
|
|
790
|
+
git_tree_entry_free(e);
|
|
791
|
+
|
|
792
|
+
git_vector_clear(&bld->entries);
|
|
793
|
+
bld->entrycount = 0;
|
|
798
794
|
}
|
|
799
795
|
|
|
800
796
|
void git_treebuilder_free(git_treebuilder *bld)
|
|
@@ -803,7 +799,7 @@ void git_treebuilder_free(git_treebuilder *bld)
|
|
|
803
799
|
return;
|
|
804
800
|
|
|
805
801
|
git_treebuilder_clear(bld);
|
|
806
|
-
|
|
802
|
+
git_vector_free(&bld->entries);
|
|
807
803
|
git__free(bld);
|
|
808
804
|
}
|
|
809
805
|
|
data/vendor/libgit2/src/tree.h
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
#include "repository.h"
|
|
12
12
|
#include "odb.h"
|
|
13
13
|
#include "vector.h"
|
|
14
|
-
#include "strmap.h"
|
|
15
14
|
|
|
16
15
|
struct git_tree_entry {
|
|
16
|
+
uint16_t removed;
|
|
17
17
|
uint16_t attr;
|
|
18
18
|
git_oid oid;
|
|
19
19
|
size_t filename_len;
|
|
@@ -26,7 +26,8 @@ struct git_tree {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
struct git_treebuilder {
|
|
29
|
-
|
|
29
|
+
git_vector entries;
|
|
30
|
+
size_t entrycount; /* vector may contain "removed" entries */
|
|
30
31
|
};
|
|
31
32
|
|
|
32
33
|
GIT_INLINE(bool) git_tree_entry__is_tree(const struct git_tree_entry *e)
|
|
@@ -110,6 +110,11 @@ GIT_INLINE(time_t) filetime_to_time_t(const FILETIME *ft)
|
|
|
110
110
|
return (time_t)winTime;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
static bool path_is_volume(wchar_t *target, size_t target_len)
|
|
114
|
+
{
|
|
115
|
+
return (target_len && wcsncmp(target, L"\\??\\Volume{", 11) == 0);
|
|
116
|
+
}
|
|
117
|
+
|
|
113
118
|
/* On success, returns the length, in characters, of the path stored in dest.
|
|
114
119
|
* On failure, returns a negative value. */
|
|
115
120
|
static int readlink_w(
|
|
@@ -156,7 +161,13 @@ static int readlink_w(
|
|
|
156
161
|
goto on_error;
|
|
157
162
|
}
|
|
158
163
|
|
|
159
|
-
if (target_len) {
|
|
164
|
+
if (path_is_volume(target, target_len)) {
|
|
165
|
+
/* This path is a reparse point that represents another volume mounted
|
|
166
|
+
* at this location, it is not a symbolic link our input was canonical.
|
|
167
|
+
*/
|
|
168
|
+
errno = EINVAL;
|
|
169
|
+
error = -1;
|
|
170
|
+
} else if (target_len) {
|
|
160
171
|
/* The path may need to have a prefix removed. */
|
|
161
172
|
target_len = git_win32__canonicalize_path(target, target_len);
|
|
162
173
|
|
|
@@ -591,31 +602,6 @@ int p_access(const char* path, mode_t mode)
|
|
|
591
602
|
return _waccess(buf, mode);
|
|
592
603
|
}
|
|
593
604
|
|
|
594
|
-
static int ensure_writable(wchar_t *fpath)
|
|
595
|
-
{
|
|
596
|
-
DWORD attrs;
|
|
597
|
-
|
|
598
|
-
attrs = GetFileAttributesW(fpath);
|
|
599
|
-
if (attrs == INVALID_FILE_ATTRIBUTES) {
|
|
600
|
-
if (GetLastError() == ERROR_FILE_NOT_FOUND)
|
|
601
|
-
return 0;
|
|
602
|
-
|
|
603
|
-
giterr_set(GITERR_OS, "failed to get attributes");
|
|
604
|
-
return -1;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
if (!(attrs & FILE_ATTRIBUTE_READONLY))
|
|
608
|
-
return 0;
|
|
609
|
-
|
|
610
|
-
attrs &= ~FILE_ATTRIBUTE_READONLY;
|
|
611
|
-
if (!SetFileAttributesW(fpath, attrs)) {
|
|
612
|
-
giterr_set(GITERR_OS, "failed to set attributes");
|
|
613
|
-
return -1;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
return 0;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
605
|
int p_rename(const char *from, const char *to)
|
|
620
606
|
{
|
|
621
607
|
git_win32_path wfrom;
|
|
@@ -627,13 +613,12 @@ int p_rename(const char *from, const char *to)
|
|
|
627
613
|
if (utf8_to_16_with_errno(wfrom, from) < 0 ||
|
|
628
614
|
utf8_to_16_with_errno(wto, to) < 0)
|
|
629
615
|
return -1;
|
|
630
|
-
|
|
616
|
+
|
|
631
617
|
/* wait up to 50ms if file is locked by another thread or process */
|
|
632
618
|
rename_tries = 0;
|
|
633
619
|
rename_succeeded = 0;
|
|
634
620
|
while (rename_tries < 10) {
|
|
635
|
-
if (
|
|
636
|
-
MoveFileExW(wfrom, wto, MOVEFILE_REPLACE_EXISTING | MOVEFILE_COPY_ALLOWED) != 0) {
|
|
621
|
+
if (MoveFileExW(wfrom, wto, MOVEFILE_REPLACE_EXISTING | MOVEFILE_COPY_ALLOWED) != 0) {
|
|
637
622
|
rename_succeeded = 1;
|
|
638
623
|
break;
|
|
639
624
|
}
|
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.21.
|
|
4
|
+
version: 0.21.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Chacon
|
|
@@ -9,48 +9,48 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-
|
|
12
|
+
date: 2014-11-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake-compiler
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
requirements:
|
|
18
|
-
- -
|
|
18
|
+
- - ">="
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
20
|
version: 0.9.0
|
|
21
21
|
type: :development
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
|
-
- -
|
|
25
|
+
- - ">="
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
27
|
version: 0.9.0
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: pry
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
31
31
|
requirements:
|
|
32
|
-
- -
|
|
32
|
+
- - ">="
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
34
|
version: '0'
|
|
35
35
|
type: :development
|
|
36
36
|
prerelease: false
|
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
|
39
|
-
- -
|
|
39
|
+
- - ">="
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
41
|
version: '0'
|
|
42
42
|
- !ruby/object:Gem::Dependency
|
|
43
43
|
name: minitest
|
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
|
-
- - ~>
|
|
46
|
+
- - "~>"
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
48
|
version: 3.0.0
|
|
49
49
|
type: :development
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
|
-
- - ~>
|
|
53
|
+
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
55
|
version: 3.0.0
|
|
56
56
|
description: |
|
|
@@ -62,27 +62,9 @@ extensions:
|
|
|
62
62
|
- ext/rugged/extconf.rb
|
|
63
63
|
extra_rdoc_files: []
|
|
64
64
|
files:
|
|
65
|
-
- README.md
|
|
66
65
|
- LICENSE
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
- lib/rugged/console.rb
|
|
70
|
-
- lib/rugged/credentials.rb
|
|
71
|
-
- lib/rugged/diff/delta.rb
|
|
72
|
-
- lib/rugged/diff/hunk.rb
|
|
73
|
-
- lib/rugged/diff/line.rb
|
|
74
|
-
- lib/rugged/diff.rb
|
|
75
|
-
- lib/rugged/index.rb
|
|
76
|
-
- lib/rugged/object.rb
|
|
77
|
-
- lib/rugged/patch.rb
|
|
78
|
-
- lib/rugged/reference.rb
|
|
79
|
-
- lib/rugged/remote.rb
|
|
80
|
-
- lib/rugged/repository.rb
|
|
81
|
-
- lib/rugged/tag.rb
|
|
82
|
-
- lib/rugged/tree.rb
|
|
83
|
-
- lib/rugged/version.rb
|
|
84
|
-
- lib/rugged/walker.rb
|
|
85
|
-
- lib/rugged.rb
|
|
66
|
+
- README.md
|
|
67
|
+
- ext/rugged/extconf.rb
|
|
86
68
|
- ext/rugged/rugged.c
|
|
87
69
|
- ext/rugged/rugged.h
|
|
88
70
|
- ext/rugged/rugged_blame.c
|
|
@@ -111,10 +93,62 @@ files:
|
|
|
111
93
|
- ext/rugged/rugged_tag.c
|
|
112
94
|
- ext/rugged/rugged_tag_collection.c
|
|
113
95
|
- ext/rugged/rugged_tree.c
|
|
96
|
+
- lib/rugged.rb
|
|
97
|
+
- lib/rugged/branch.rb
|
|
98
|
+
- lib/rugged/commit.rb
|
|
99
|
+
- lib/rugged/console.rb
|
|
100
|
+
- lib/rugged/credentials.rb
|
|
101
|
+
- lib/rugged/diff.rb
|
|
102
|
+
- lib/rugged/diff/delta.rb
|
|
103
|
+
- lib/rugged/diff/hunk.rb
|
|
104
|
+
- lib/rugged/diff/line.rb
|
|
105
|
+
- lib/rugged/index.rb
|
|
106
|
+
- lib/rugged/object.rb
|
|
107
|
+
- lib/rugged/patch.rb
|
|
108
|
+
- lib/rugged/reference.rb
|
|
109
|
+
- lib/rugged/remote.rb
|
|
110
|
+
- lib/rugged/repository.rb
|
|
111
|
+
- lib/rugged/tag.rb
|
|
112
|
+
- lib/rugged/tree.rb
|
|
113
|
+
- lib/rugged/version.rb
|
|
114
|
+
- lib/rugged/walker.rb
|
|
115
|
+
- vendor/libgit2/AUTHORS
|
|
116
|
+
- vendor/libgit2/CMakeLists.txt
|
|
117
|
+
- vendor/libgit2/COPYING
|
|
118
|
+
- vendor/libgit2/Makefile.embed
|
|
114
119
|
- vendor/libgit2/cmake/Modules/AddCFlagIfSupported.cmake
|
|
115
120
|
- vendor/libgit2/cmake/Modules/FindHTTP_Parser.cmake
|
|
116
121
|
- vendor/libgit2/cmake/Modules/FindIconv.cmake
|
|
117
122
|
- vendor/libgit2/cmake/Modules/FindLIBSSH2.cmake
|
|
123
|
+
- vendor/libgit2/deps/http-parser/LICENSE-MIT
|
|
124
|
+
- vendor/libgit2/deps/http-parser/http_parser.c
|
|
125
|
+
- vendor/libgit2/deps/http-parser/http_parser.h
|
|
126
|
+
- vendor/libgit2/deps/regex/config.h
|
|
127
|
+
- vendor/libgit2/deps/regex/regcomp.c
|
|
128
|
+
- vendor/libgit2/deps/regex/regex.c
|
|
129
|
+
- vendor/libgit2/deps/regex/regex.h
|
|
130
|
+
- vendor/libgit2/deps/regex/regex_internal.c
|
|
131
|
+
- vendor/libgit2/deps/regex/regex_internal.h
|
|
132
|
+
- vendor/libgit2/deps/regex/regexec.c
|
|
133
|
+
- vendor/libgit2/deps/zlib/adler32.c
|
|
134
|
+
- vendor/libgit2/deps/zlib/crc32.c
|
|
135
|
+
- vendor/libgit2/deps/zlib/crc32.h
|
|
136
|
+
- vendor/libgit2/deps/zlib/deflate.c
|
|
137
|
+
- vendor/libgit2/deps/zlib/deflate.h
|
|
138
|
+
- vendor/libgit2/deps/zlib/inffast.c
|
|
139
|
+
- vendor/libgit2/deps/zlib/inffast.h
|
|
140
|
+
- vendor/libgit2/deps/zlib/inffixed.h
|
|
141
|
+
- vendor/libgit2/deps/zlib/inflate.c
|
|
142
|
+
- vendor/libgit2/deps/zlib/inflate.h
|
|
143
|
+
- vendor/libgit2/deps/zlib/inftrees.c
|
|
144
|
+
- vendor/libgit2/deps/zlib/inftrees.h
|
|
145
|
+
- vendor/libgit2/deps/zlib/trees.c
|
|
146
|
+
- vendor/libgit2/deps/zlib/trees.h
|
|
147
|
+
- vendor/libgit2/deps/zlib/zconf.h
|
|
148
|
+
- vendor/libgit2/deps/zlib/zlib.h
|
|
149
|
+
- vendor/libgit2/deps/zlib/zutil.c
|
|
150
|
+
- vendor/libgit2/deps/zlib/zutil.h
|
|
151
|
+
- vendor/libgit2/include/git2.h
|
|
118
152
|
- vendor/libgit2/include/git2/attr.h
|
|
119
153
|
- vendor/libgit2/include/git2/blame.h
|
|
120
154
|
- vendor/libgit2/include/git2/blob.h
|
|
@@ -181,7 +215,7 @@ files:
|
|
|
181
215
|
- vendor/libgit2/include/git2/tree.h
|
|
182
216
|
- vendor/libgit2/include/git2/types.h
|
|
183
217
|
- vendor/libgit2/include/git2/version.h
|
|
184
|
-
- vendor/libgit2/
|
|
218
|
+
- vendor/libgit2/libgit2.pc.in
|
|
185
219
|
- vendor/libgit2/src/array.h
|
|
186
220
|
- vendor/libgit2/src/attr.c
|
|
187
221
|
- vendor/libgit2/src/attr.h
|
|
@@ -256,13 +290,13 @@ files:
|
|
|
256
290
|
- vendor/libgit2/src/global.c
|
|
257
291
|
- vendor/libgit2/src/global.h
|
|
258
292
|
- vendor/libgit2/src/graph.c
|
|
293
|
+
- vendor/libgit2/src/hash.c
|
|
294
|
+
- vendor/libgit2/src/hash.h
|
|
259
295
|
- vendor/libgit2/src/hash/hash_generic.c
|
|
260
296
|
- vendor/libgit2/src/hash/hash_generic.h
|
|
261
297
|
- vendor/libgit2/src/hash/hash_openssl.h
|
|
262
298
|
- vendor/libgit2/src/hash/hash_win32.c
|
|
263
299
|
- vendor/libgit2/src/hash/hash_win32.h
|
|
264
|
-
- vendor/libgit2/src/hash.c
|
|
265
|
-
- vendor/libgit2/src/hash.h
|
|
266
300
|
- vendor/libgit2/src/hashsig.c
|
|
267
301
|
- vendor/libgit2/src/hashsig.h
|
|
268
302
|
- vendor/libgit2/src/ident.c
|
|
@@ -422,40 +456,6 @@ files:
|
|
|
422
456
|
- vendor/libgit2/src/xdiff/xutils.h
|
|
423
457
|
- vendor/libgit2/src/zstream.c
|
|
424
458
|
- vendor/libgit2/src/zstream.h
|
|
425
|
-
- vendor/libgit2/deps/http-parser/http_parser.c
|
|
426
|
-
- vendor/libgit2/deps/http-parser/http_parser.h
|
|
427
|
-
- vendor/libgit2/deps/http-parser/LICENSE-MIT
|
|
428
|
-
- vendor/libgit2/deps/regex/config.h
|
|
429
|
-
- vendor/libgit2/deps/regex/regcomp.c
|
|
430
|
-
- vendor/libgit2/deps/regex/regex.c
|
|
431
|
-
- vendor/libgit2/deps/regex/regex.h
|
|
432
|
-
- vendor/libgit2/deps/regex/regex_internal.c
|
|
433
|
-
- vendor/libgit2/deps/regex/regex_internal.h
|
|
434
|
-
- vendor/libgit2/deps/regex/regexec.c
|
|
435
|
-
- vendor/libgit2/deps/zlib/adler32.c
|
|
436
|
-
- vendor/libgit2/deps/zlib/crc32.c
|
|
437
|
-
- vendor/libgit2/deps/zlib/crc32.h
|
|
438
|
-
- vendor/libgit2/deps/zlib/deflate.c
|
|
439
|
-
- vendor/libgit2/deps/zlib/deflate.h
|
|
440
|
-
- vendor/libgit2/deps/zlib/inffast.c
|
|
441
|
-
- vendor/libgit2/deps/zlib/inffast.h
|
|
442
|
-
- vendor/libgit2/deps/zlib/inffixed.h
|
|
443
|
-
- vendor/libgit2/deps/zlib/inflate.c
|
|
444
|
-
- vendor/libgit2/deps/zlib/inflate.h
|
|
445
|
-
- vendor/libgit2/deps/zlib/inftrees.c
|
|
446
|
-
- vendor/libgit2/deps/zlib/inftrees.h
|
|
447
|
-
- vendor/libgit2/deps/zlib/trees.c
|
|
448
|
-
- vendor/libgit2/deps/zlib/trees.h
|
|
449
|
-
- vendor/libgit2/deps/zlib/zconf.h
|
|
450
|
-
- vendor/libgit2/deps/zlib/zlib.h
|
|
451
|
-
- vendor/libgit2/deps/zlib/zutil.c
|
|
452
|
-
- vendor/libgit2/deps/zlib/zutil.h
|
|
453
|
-
- vendor/libgit2/CMakeLists.txt
|
|
454
|
-
- vendor/libgit2/Makefile.embed
|
|
455
|
-
- vendor/libgit2/AUTHORS
|
|
456
|
-
- vendor/libgit2/COPYING
|
|
457
|
-
- vendor/libgit2/libgit2.pc.in
|
|
458
|
-
- ext/rugged/extconf.rb
|
|
459
459
|
homepage: https://github.com/libgit2/rugged
|
|
460
460
|
licenses:
|
|
461
461
|
- MIT
|
|
@@ -466,17 +466,17 @@ require_paths:
|
|
|
466
466
|
- lib
|
|
467
467
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
468
468
|
requirements:
|
|
469
|
-
- -
|
|
469
|
+
- - ">="
|
|
470
470
|
- !ruby/object:Gem::Version
|
|
471
471
|
version: 1.9.3
|
|
472
472
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
473
473
|
requirements:
|
|
474
|
-
- -
|
|
474
|
+
- - ">="
|
|
475
475
|
- !ruby/object:Gem::Version
|
|
476
476
|
version: '0'
|
|
477
477
|
requirements: []
|
|
478
478
|
rubyforge_project:
|
|
479
|
-
rubygems_version: 2.
|
|
479
|
+
rubygems_version: 2.2.2
|
|
480
480
|
signing_key:
|
|
481
481
|
specification_version: 4
|
|
482
482
|
summary: Rugged is a Ruby binding to the libgit2 linkable library
|