],
);
- method patch ( Maybe[NonEmptySimpleStr] $parent?,
- Int $count?) {
+ method get_patch ( Maybe[NonEmptySimpleStr] $parent?,
+ Int $count?) {
$count ||= 1;
# Assemble the git command.
# common args:
} else {
push @cmd_args, "-1";
}
- # if a parent is specified: hp..h
- # if not, but a merge commit: --cc h
- # otherwise: --root h
+ # ref spec:
+ # if a parent is specified: hp..h
+ # if not, but a merge commit: --cc h
+ # otherwise: --root h
if (defined $parent) {
push @cmd_args, "$parent.." . $self->sha1;
} else {