« 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/plumbing8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/plumbing b/lib/plumbing
new file mode 100644
index 0000000..58f333f
--- /dev/null
+++ b/lib/plumbing
@@ -0,0 +1,8 @@
+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'' '
+
+include basic