diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-10-30 19:41:24 +0100 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-10-31 00:42:19 +0100 |
commit | edecb040d826daee023b382ac7aecff88fd8a8cf (patch) | |
tree | 4c87dda3eaf30477236278e27be0e1f2d17f2916 /.local/bin/in-git-repo | |
parent | 13aa86e8d1080c24afdeac51fbb8235990c8a001 (diff) |
minor
Diffstat (limited to '.local/bin/in-git-repo')
-rwxr-xr-x | .local/bin/in-git-repo | 2 |
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) |