summaryrefslogtreecommitdiff
path: root/src/bin/commit-msg.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2017-08-20 21:07:07 +0200
committerJustin Worthe <justin@worthe-it.co.za>2017-08-20 21:14:57 +0200
commit35cedc888379d0279b1c725388c25d02f4ecb691 (patch)
tree183541db26a06ab2fc5f3436592f46de4d7a1666 /src/bin/commit-msg.rs
parent44ac404d6a1f537ba3da27f9cc8f3908396d931f (diff)
Initial commit, added some main files for hooks
Diffstat (limited to 'src/bin/commit-msg.rs')
-rw-r--r--src/bin/commit-msg.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/commit-msg.rs b/src/bin/commit-msg.rs
new file mode 100644
index 0000000..488613e
--- /dev/null
+++ b/src/bin/commit-msg.rs
@@ -0,0 +1,6 @@
+use std::env;
+
+fn main() {
+ let args: Vec<_> = env::args().skip(1).collect();
+ println!("commit-msg called with {:?}", args);
+}