summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-08-17 21:49:31 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-08-17 21:49:31 +0100
commitfe6e18bb39062972d31097362bdeeaa9cdaac417 (patch)
treedd2946fac653facc09bd7da0ea9575e7d0ba5600
parent3775f6ff32b7b21c2173f377893be4b512295e1e (diff)
downloadgitano-fe6e18bb39062972d31097362bdeeaa9cdaac417.tar.gz
COMMAND: Explain why 'ls foo' is not the same as 'ls foo/'
-rw-r--r--lib/gitano/command.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitano/command.lua b/lib/gitano/command.lua
index 0449c38..922672d 100644
--- a/lib/gitano/command.lua
+++ b/lib/gitano/command.lua
@@ -607,6 +607,10 @@ Any other characters are "as-is" except \ which escapes the next character.
If your pattern contains no / and no ** then it will be matched against
leafnames of repositories.
+
+Note, this means that if you run `ls foo` then the server is going to look
+for repositories called `foo.git` rather than look in side a folder called
+`foo/`. For the latter, do `ls foo/` instead.
]]
local function builtin_ls_validate(config, _, cmdline)