From 7d32778d93af6e41cd63aae92b073b3d2538331d Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Thu, 29 Aug 2024 18:00:51 +1000 Subject: [PATCH] clog: use git show instead of git log This will work with ranges etc better --- clog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")' "$@" -- 2.39.5