It adds the git SHA to the DESCRIPTION file, so that the package does not need to be installed again when the same commit is already installed.

install_repo_add_sha(repo_dir, ...)

Arguments

repo_dir

directory of repo

...

Additional args passed to remotes::install_deps. Note upgrade is set to "never" and shouldn't be passed into this function.