summaryrefslogtreecommitdiffstats
path: root/bin/git/git-root
diff options
context:
space:
mode:
Diffstat (limited to 'bin/git/git-root')
-rwxr-xr-xbin/git/git-root9
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/git/git-root b/bin/git/git-root
deleted file mode 100755
index 96fb395..0000000
--- a/bin/git/git-root
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-set -eu
-
-root="$(git rev-parse --show-superproject-working-tree 2>/dev/null)"
-if [ -n "$root" ]; then
- echo "$root"
-else
- git rev-parse --show-toplevel
-fi