Method: Rugged::Walker#hide

Defined in:
ext/rugged/rugged_revwalk.c

#hide(commit) ⇒ nil

Hide the given commit (and all its parents) from the output in the revision walk.

Returns:

  • (nil)


140
141
142
143
144
145
146
# File 'ext/rugged/rugged_revwalk.c', line 140

static VALUE rb_git_walker_hide(VALUE self, VALUE rb_commit)
{
  git_revwalk *walk;
  Data_Get_Struct(self, git_revwalk, walk);
  push_commit(walk, rb_commit, 1);
  return Qnil;
}