Stefan Widgren
Stefan Widgren
@trosendal Thanks for reporting this
No, that is not possible to replicate in git2r
@dpastoor that works fine if no files are staged before calling `add(repo, "path/to/file")`. With `git commit /path/to/file -m "committing file"`, my understanding is that it's possible is to first stage...
Hooks are not supported by libgit2. However, there is an open PR to add initial support for hooks https://github.com/libgit2/libgit2/pull/3004
Before adding this functionality to git2r, wait and see which API functions libgit2 adds.
Thanks, I wasn't aware of that feature. > However, when I run git2r::push() there is no error message at all. The returned value is NULL, which is also what is...
Please see https://github.com/ropensci/git2r/issues/414#issuecomment-617892391 and https://github.com/conda-forge/r-git2r-feedstock for installation instructions using conda.
I'm not able to reproduce the failure. What do you get if you inspect the tree of the commit? ``` > tree(new_commit) tree: a0b0b9e615e9e433eb5f11859e9feac4564c58c5 mode type sha name 1 100644...
In order to expose new functionality from `libgit2` into `git2r`, one must add a C function that can be called from R which then in turn calls the function in...
Thanks for the suggestion. I've not been able to reproduce the error using the following code, so I'm not sure what went wrong in that specific case. ``` library(git2r) path