projects
/
nmbug-oci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4712353
)
Makefile: Add a 'commit' helper rule
author
W. Trevor King
<wking@tremily.us>
Thu, 18 Aug 2016 17:26:38 +0000
(10:26 -0700)
committer
W. Trevor King
<wking@tremily.us>
Thu, 18 Aug 2016 17:26:38 +0000
(10:26 -0700)
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
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index b9061e011d1612df9dac7b36f6d9163da2c77d35..3cd16806c7c405561331ce0dd90dd3a9479ac237 100644
(file)
--- 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 "$<"