From 6ebdb1e78836407cd8b8fa115f7ac405e8ad20cb Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 18 Aug 2016 10:26:38 -0700 Subject: [PATCH] Makefile: Add a 'commit' helper rule So I don't have to type out the master commit we're building by hand. For this to work, origin/master has to have the same tag state as your local notmuch tags. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index b9061e0..3cd1680 100644 --- a/Makefile +++ b/Makefile @@ -2,3 +2,6 @@ index.html: notmuch-report --config notmuch-report.json >"$@" + +commit: index.html + git commit -vm "$$(git log -1 --date=short --format='index.html: Rebuild status%n%nPulling in %h (%s, %ad).' origin/master)" --edit "$<" -- 2.26.2