acme: don't include hash in git commit view
HEAD mainThis confuses resolving filenames in the current window's
directory. +git is enough to explain where the window is from.
1 files changed, 1 insertions, 1 deletions
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
|