Skip to content

Commit d45e556

Browse files
committed
Introduce rebasing
Introduce the Rugged::Rebase and Rugged::RebaseOperation types to expose the library's rebasing capabilities.
1 parent de817e2 commit d45e556

File tree

140 files changed

+638
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+638
-1
lines changed

ext/rugged/rugged.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ void Init_rugged(void)
487487
Init_rugged_blame();
488488
Init_rugged_cred();
489489
Init_rugged_backend();
490+
Init_rugged_rebase();
490491

491492
/*
492493
* Sort the repository contents in no particular ordering;

ext/rugged/rugged.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ void Init_rugged_diff_line(void);
7575
void Init_rugged_blame(void);
7676
void Init_rugged_cred(void);
7777
void Init_rugged_backend(void);
78+
void Init_rugged_rebase(void);
7879

7980
VALUE rb_git_object_init(git_otype type, int argc, VALUE *argv, VALUE self);
8081

@@ -98,6 +99,7 @@ VALUE rb_git_delta_file_fromC(const git_diff_file *file);
9899

99100
void rugged_parse_diff_options(git_diff_options *opts, VALUE rb_options);
100101
void rugged_parse_merge_options(git_merge_options *opts, VALUE rb_options);
102+
void rugged_parse_checkout_options(git_checkout_options *opts, VALUE rb_options);
101103

102104
void rugged_cred_extract(git_cred **cred, int allowed_types, VALUE rb_credential);
103105

@@ -107,6 +109,7 @@ git_otype rugged_otype_get(VALUE rb_type);
107109
git_signature *rugged_signature_get(VALUE rb_person, git_repository *repo);
108110
git_object *rugged_object_get(git_repository *repo, VALUE object_value, git_otype type);
109111
int rugged_oid_get(git_oid *oid, git_repository *repo, VALUE p);
112+
const char * rugged_refname_from_string_or_ref(VALUE rb_name_or_ref);
110113

111114
void rugged_rb_ary_to_strarray(VALUE rb_array, git_strarray *str_array);
112115
VALUE rugged_strarray_to_rb_ary(git_strarray *str_array);

0 commit comments

Comments
 (0)