From d2285ab979176bcccc9162b0ad3f23a631c44ff5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 28 Feb 2019 19:34:47 +0300 Subject: [PATCH] Fix(ls-no-description): Print cwd (`$g` can be just '.') --- ls-no-description | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls-no-description b/ls-no-description index 81ddb61..58e7fa1 100755 --- a/ls-no-description +++ b/ls-no-description @@ -4,5 +4,5 @@ g="`git rev-parse --git-dir`" && if [ "`cat $g/description`" = "Unnamed repository; edit this file 'description' to name the repository." ] then - echo "$g" + pwd fi -- 2.39.2