Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ropensci/git2r
Browse files Browse the repository at this point in the history
  • Loading branch information
stewid committed Jan 3, 2016
2 parents 8d00f5b + d28d909 commit 068fbb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/status.r
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ print.git_status <- function(x, ...)
invisible(NULL)
}

if (max(vapply(x, length, integer(1))) == 0L)
cat("working directory clean\n")

if (length(x$ignored)) {
display_status("Ignored files", x$ignored)
cat("\n")
Expand Down

0 comments on commit 068fbb2

Please sign in to comment.