summaryrefslogtreecommitdiff
path: root/.local/bin/in-git-repo
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-30 19:41:24 +0100
committeradam <56338480+adastx@users.noreply.github.com>2022-10-31 00:42:19 +0100
commitedecb040d826daee023b382ac7aecff88fd8a8cf (patch)
tree4c87dda3eaf30477236278e27be0e1f2d17f2916 /.local/bin/in-git-repo
parent13aa86e8d1080c24afdeac51fbb8235990c8a001 (diff)
minor
Diffstat (limited to '.local/bin/in-git-repo')
-rwxr-xr-x.local/bin/in-git-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/in-git-repo b/.local/bin/in-git-repo
index e155bc8..56e2e33 100755
--- a/.local/bin/in-git-repo
+++ b/.local/bin/in-git-repo
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
res=$(git rev-parse --is-inside-work-tree 2>/dev/null)