update_depth: Update depth definitions of checked out repository

Description Usage Arguments Details Value

View source: R/update_depth.R

Description

Update the settings of a repository that was checked out with a depth parameter

Usage

1
update_depth(path, action, action_input)

Arguments

path

character, path on local disk that repository is cloned to

action

character, apply one of 'deepen','shallow-since','shallow-exclude','unshallow'

action_input

parameter needed for the action (see details)

Details

action_input for each action: [class of input]: 'deepen': integer specifies the number of commits from the current shallow boundary instead of from the tip of each remote branch history.

'shallow-since': date ( Deepen or shorten the history of a shallow repository to include all reachable commits after a given date.

'shallow-exclude': integer Deepen or shorten the history of a shallow repository to exclude commits reachable from a specified remote branch or tag.

'unshallow': boolean If the source repository is complete, convert a shallow repository to a complete one, removing all the limitations imposed by shallow repositories.

Value

nothing


metrumresearchgroup/vcs documentation built on July 21, 2018, 6:17 a.m.