]> git.phdru.name Git - git-scripts.git/blobdiff - ls-no-description
Feat(submodules/remove): Add option `-c`
[git-scripts.git] / ls-no-description
index 0966ffb1db35edcd3e9c0f1c4a0fb83ffbbec0f5..58e7fa13ef3731d3d88ed29535ed2778d2c22c11 100755 (executable)
@@ -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