From: Oleg Broytman Date: Thu, 28 Feb 2019 16:34:47 +0000 (+0300) Subject: Fix(ls-no-description): Print cwd (`$g` can be just '.') X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d2285ab979176bcccc9162b0ad3f23a631c44ff5;p=git-scripts.git Fix(ls-no-description): Print cwd (`$g` can be just '.') --- 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