summaryrefslogtreecommitdiff
path: root/git-hash
diff options
context:
space:
mode:
Diffstat (limited to 'git-hash')
-rwxr-xr-xgit-hash4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-hash b/git-hash
new file mode 100755
index 0000000..bcb8f94
--- /dev/null
+++ b/git-hash
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd $MESON_SOURCE_ROOT
+exec git rev-parse HEAD 2>/dev/null