Skip to content

CRAN release v0.11.0

Choose a tag to compare

@stewid stewid released this 20 Nov 17:57
· 1336 commits to main since this release

git2r 0.11.0

NEW FEATURES

  • Add punch card plot.
  • Add branch argument to clone with name of the branch to checkout.
  • Add 'force' argument to 'add' method to add ignored files.
  • The following methods can now be called without the repository
    argument: 'branches', 'references', 'remotes', 'tags' and 'workdir'.
    When these methods are called without the repository argument, the
    repository is searched for with 'discover_repository' in the current
    working directory.
  • Add name of branch to each item in branch_list.
  • Add name of tag to each item in tags list.
  • Add S4 class 'cred_env' to pass credentials in environment
    variables.
  • SSH transport on Windows. This requires 'LibSSH2' and
    'OpenSSL'. These two libraries are downloaded from
    'https://github.com/rwinlib' during configuration of the package.
  • Static linking of LibSSH2 on OSX to support redistributable binary
    package with SSH transport enabled. Version 1.6.0 of LibSSH2 is
    downloaded and built from 'https://github.com/libssh2/libssh2'.

IMPROVEMENTS

  • Better summary output from S4 classes 'git_commit' and
    'git_repository'.
  • Updated libgit2 source code to commit (98f7bd2) from 2015-08-05.

BUG FIXES

  • Add imports to DESCRIPTION to fix CRAN notes.
  • Fix plot function to use the repository argument 'x'
  • Update configuration to build on OpenBSD.
  • Fix checkout branch in empty repository.
  • Fix path argument in rm_file.
  • Internal refactoring of C code that raise error to prevent segfault.