X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-no-description;h=81ddb61b85032b9441aa0845dc8294be9305ed45;hb=bde260ddb033606e9c70830cca48c94962c08021;hp=0966ffb1db35edcd3e9c0f1c4a0fb83ffbbec0f5;hpb=85bb1ca14fceb299bc688a926fcafe6011dcaf9a;p=git-scripts.git diff --git a/ls-no-description b/ls-no-description index 0966ffb..81ddb61 100755 --- a/ls-no-description +++ b/ls-no-description @@ -1,4 +1,8 @@ #! /bin/sh -exec "`dirname \"$0\"`"/do-all \ - 'test "`cat $g/description`" = "Unnamed repository; edit this file '"'"description"'"' to name the repository." && echo "$d"' +g="`git rev-parse --git-dir`" && + +if [ "`cat $g/description`" = "Unnamed repository; edit this file 'description' to name the repository." ] +then + echo "$g" +fi