]> git.phdru.name Git - git-scripts.git/commitdiff
Fix(ls-no-description): Print cwd (`$g` can be just '.')
authorOleg Broytman <phd@phdru.name>
Thu, 28 Feb 2019 16:34:47 +0000 (19:34 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 28 Feb 2019 16:34:47 +0000 (19:34 +0300)
ls-no-description

index 81ddb61b85032b9441aa0845dc8294be9305ed45..58e7fa13ef3731d3d88ed29535ed2778d2c22c11 100755 (executable)
@@ -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