blog target will now output to stderr if git-weblog missing (instead of stdout)
parent
59a7f24018
commit
f801827473
3
Makefile
3
Makefile
|
@ -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,\}\)$$' \
|
||||
|
|
Loading…
Reference in New Issue