From: Stephen Rothwell Date: Thu, 29 Aug 2024 08:00:51 +0000 (+1000) Subject: clog: use git show instead of git log X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=7d32778d93af6e41cd63aae92b073b3d2538331d;p=next-scripts clog: use git show instead of git log This will work with ranges etc better --- diff --git a/clog b/clog index 4150650..7945fcd 100755 --- a/clog +++ b/clog @@ -1,3 +1,3 @@ #!/bin/bash -git log -1 --format=' %h ("%s")' "$@" +git show -s --format=' %h ("%s")' "$@"