We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
> summary(diff(repository("."))) Old: index New: workdir No changes. > system("git diff") diff --git a/R/git.R b/R/git.R index 7cb7b6d..38fab7d 100644 --- a/R/git.R +++ b/R/git.R @@ -28,8 +28,9 @@ git_sha1 <- function(n = 10, path = ".") { uncommitted <- function(path = ".") { in_dir(path, system("git diff-index --quiet --cached HEAD") == 1 || - system("git diff-files --quiet") == 1) + system("git diff-files --quiet") == 1) } +# tests github_info <- function(pkg = ".") {
Any thoughts on what might cause this problem? The example in git_diff works as expected
git_diff
The text was updated successfully, but these errors were encountered:
Wow, I can reproduce this in the devtools tree, but not in other git trees.....
devtools
Sorry, something went wrong.
No branches or pull requests
Any thoughts on what might cause this problem? The example in
git_diff
works as expectedThe text was updated successfully, but these errors were encountered: