Method: Rugged::Rebase#finish

Defined in:
ext/rugged/rugged_rebase.c

#finishnil

Finish the rebase currently in progress once all patches have been applied.

Returns:

  • (nil)
[View source]

342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'ext/rugged/rugged_rebase.c', line 342

static VALUE rb_git_rebase_finish(VALUE self, VALUE rb_sig)
{
	git_rebase *rebase;
	git_signature *sig;
	int error;

	Data_Get_Struct(self, git_rebase, rebase);
	sig = rugged_signature_get(rb_sig, NULL);
	error = git_rebase_finish(rebase, sig);
	git_signature_free(sig);

	rugged_exception_check(error);

	return Qnil;
}