aboutsummaryrefslogtreecommitdiff
path: root/bin/ebump
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebump')
-rwxr-xr-xbin/ebump2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebump b/bin/ebump
index 06264c4..25e9a7c 100755
--- a/bin/ebump
+++ b/bin/ebump
@@ -277,7 +277,7 @@ get_vcs() {
return 0
else
if command -v git >/dev/null; then
- if [ -n "$(git rev-parse --git-dir 2>/dev/null)" ]; then
+ if [ "$(git rev-parse --is-inside-work-tree)" = true ]; then
echo "git"
return 0
fi