X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=ls-no-description;h=58e7fa13ef3731d3d88ed29535ed2778d2c22c11;hp=0966ffb1db35edcd3e9c0f1c4a0fb83ffbbec0f5;hb=HEAD;hpb=b654a68370a9f85db9e898521bd2925e62f578d7 diff --git a/ls-no-description b/ls-no-description index 0966ffb..58e7fa1 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 + pwd +fi