From a8094441ff2b3d9e3372d6a9cd571e0a5dd0a2ad Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 2 Nov 2025 07:14:02 -0400 Subject: acme: don't include hash in git commit view This confuses resolving filenames in the current window's directory. +git is enough to explain where the window is from. --- lib/plumbing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plumbing b/lib/plumbing index 61b5426..58f333f 100644 --- a/lib/plumbing +++ b/lib/plumbing @@ -3,6 +3,6 @@ editor = acme type is text data matches '[0-9a-f]*[a-f][0-9a-f]*' data matches '([0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]+)' -plumb start rc -c 'ifs=''''; cd `{echo '$wdir' | perl -pe ''chomp if eof''}; cd `{git rev-parse --show-toplevel | perl -pe ''chomp if eof''} && git show '$1' | plumb -i -d edit -a ''action=showdata filename=+git/'$1''' ' +plumb start rc -c 'ifs=''''; cd `{echo '$wdir' | perl -pe ''chomp if eof''}; cd `{git rev-parse --show-toplevel | perl -pe ''chomp if eof''} && git show '$1' | plumb -i -d edit -a ''action=showdata filename=+git'' ' include basic -- cgit 1.3.0-6-gf8a5