summaryrefslogtreecommitdiff
path: root/.local/bin/in-git-repo
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/in-git-repo')
-rwxr-xr-x.local/bin/in-git-repo9
1 files changed, 0 insertions, 9 deletions
diff --git a/.local/bin/in-git-repo b/.local/bin/in-git-repo
deleted file mode 100755
index 0372e32..0000000
--- a/.local/bin/in-git-repo
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-res=$(git rev-parse --is-inside-work-tree 2>/dev/null)
-
-if [ "$res" = true ]; then
- exit 0
-else
- exit 1
-fi