Closed chuckhoupt closed 10 years ago
Wooomp wooooomp. Thanks for the fix. Note of course that this just falls on mtime
if it's not a git repo.
Note, as well, that if you clone a repository and delete the .git
folder, you'll need to somehow set the mtime
based on the git history, or rsync
with the mtime
preserved, then run jekyll build
.
Hi gjtorikian, Nice plugin. Here's a patch for us poor souls laboring outside of GIT repos. - chuckhoupt
Details:
When working in a directory that isn't part of a GIT repo, the plugin generates the following error message for each file processed:
This patch fixes this by dev-nulling the output from the 'git rev-parse' command in is_git_repo?()