Description Usage Arguments Details Examples
View source: R/renamed-files.R
Set the column changed_files
of a log
to the latest name of the file
1 |
log |
An unnested detailed log. |
parse_log_detailed()
parses a git log. However, changed file names
are not corrected retroactively. Hence, if one wants to process file-specific
commit data for one file across different names for that file, the column
changed_files
has to be unified. This is done with this function by
updating the file names recursively and setting them to the latest name used.
Filenames containing the sequence =>
are viewed as renamed files, so
there will likely be problems when you apply this function to a git
repository that contains (or contained) files with such files names. You
may have to update the column changed_file
manually.
1 2 3 4 5 | library("magrittr")
gitsumlog %>%
tidyr::unnest() %>%
set_changed_file_to_latest_name() %>%
add_line_history()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.