« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/lib/plumbing
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plumbing')
-rw-r--r--lib/plumbing7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/plumbing b/lib/plumbing
new file mode 100644
index 0000000..650f869
--- /dev/null
+++ b/lib/plumbing
@@ -0,0 +1,7 @@
+editor = acme
+include basic
+
+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 'cd '$wdir'; cd `{git rev-parse --show-toplevel} && [ -d .git ] && git show '$1' | plumb -i -d edit -a ''action=showdata filename=+git/'$1''' '