Skip to content

Commit

Permalink
Allow empty commit messages
Browse files Browse the repository at this point in the history
Fixes #908
  • Loading branch information
hadley committed Nov 20, 2018
1 parent 88b4904 commit 6d6ad5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/deploy-site.R
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ github_push <- function(dir, commit_message) {

with_dir(dir, {
git("add", "-A", ".")
git("commit", "-m", commit_message)
git("commit", "--allow-empty", "-m", commit_message)

rule("Deploying to GitHub Pages", line = 1)
git("remote", "-v")
Expand Down

0 comments on commit 6d6ad5d

Please sign in to comment.