diff_head: Query the difference in files between current fetch and the...

Description Usage Arguments Value

View source: R/diff_head.R

Description

Query the difference in files between current fetch and the head of a repository, assuming that there is either a .git or .svn folder in the path.

Usage

1
diff_head(path = ".", vcs = "git", pattern = NULL, ..., show = TRUE)

Arguments

path

character, Path to root directory of git/svn repository, Default: '.'

vcs

character, choose which version control system to search (git, svn), Default: 'git'

pattern

character, string containing a regular expression, Default: NULL

...

arguments passed to grep

show

boolean, if false returns only boolean output of HEAD%in%local, Default: TRUE

Value

character


metrumresearchgroup/vcs documentation built on July 16, 2020, 8:52 p.m.