R/log.R

Defines functions log

Documented in log

#' Git Log
#' @export
log <-
  function(path = getwd(),
           verbose = TRUE) {
    logResponse <-
      system(
        paste0("cd\ncd ", repo_path, "\n", "git log"),
        intern = TRUE
      )

    if (verbose) {
      printMsg(logResponse)
    }

    invisible(logResponse)
  }
meerapatelmd/glitter documentation built on Sept. 9, 2021, 6:21 p.m.