gitHistorySearch: Performes git history search

Description Usage Arguments Value Author(s) Examples

View source: R/git_history_search.R

Description

Performes git history search

Usage

1
2
3
4
5
6
7
gitHistorySearch(
  gitdir,
  pattern,
  branch = NULL,
  git_args = character(),
  git_binary = NULL
)

Arguments

gitdir

string with git directory

pattern

to match in history

branch

git branch

git_args

arguments to git

git_binary

location of git executable

Value

git log output

Author(s)

Uses git_path adapted form devtools author Hadley Wickham

Examples

1
2
3
4
5
## Not run: 
 si <- pullSourceInfo("adaprHome")
 gitHistorySearch(si$project.path,"read_data.R")

## End(Not run) 

gelfondjal/adapr documentation built on Feb. 2, 2020, 1:32 a.m.