]> git.ozlabs.org Git - next-scripts/commitdiff
a quick and dirty script to log a commit in a useful format
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 29 Mar 2019 03:29:13 +0000 (14:29 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 29 Mar 2019 03:29:13 +0000 (14:29 +1100)
clog [new file with mode: 0755]

diff --git a/clog b/clog
new file mode 100755 (executable)
index 0000000..4150650
--- /dev/null
+++ b/clog
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+git log -1 --format='  %h ("%s")' "$@"