1
0
Fork 0

blog target will now output to stderr if git-weblog missing (instead of stdout)

website
Mike Gerwitz 2012-01-07 22:57:38 -05:00
parent 59a7f24018
commit f801827473
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ $(outdir)/%.html: %.html $(header) $(footer) | $(outdir)
# requires git-weblog from mikegerwitz's git-supp package
blog:
@[ "$$( which git-weblog )" ] || ( echo "Please add git-weblog to PATH" && false )
@[ "$$( which git-weblog )" ] \
|| ( echo "Please add git-weblog to PATH" >&2 && false )
git fetch origin refs/notes/*:refs/notes/*
git log --log-size --format="%H%n%B" master \
| grep -A1 '^log size \([5-9][0-9]\{2,\}\|[0-9]\{4,\}\)$$' \