Learn R Programming

workflowr (version 0.2.0)

obtain_files_in_commit_root: Obtain the files updated in the root commit

Description

There is currently no obvious way to obtain the files included in the initial root commit using the git2r API. Thus these are obtained using the command-line. See http://stackoverflow.com/questions/41433034/how-to-obtain-files-included-in-initial-commit-using-git2r-libgit2.

Usage

obtain_files_in_commit_root(repo, commit)

Arguments

Details

This only works for the root commit, i.e. it must have no parents.

See Also

obtain_files_in_commit, decide_to_render