]> git.madduck.net Git - code/vcsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add docs for list-tracked and list-tracked-by
authorRichard Hartmann <richih.mailinglist@gmail.com>
Fri, 2 Dec 2011 20:47:38 +0000 (21:47 +0100)
committerRichard Hartmann <richih.mailinglist@gmail.com>
Fri, 2 Dec 2011 20:53:13 +0000 (21:53 +0100)
_vcsh
doc/vcsh.1.ronn
vcsh

diff --git a/_vcsh b/_vcsh
index c6efe6fdc4b41fd25ce4feb8a678297f4f329149..f5ab347a4ced8c3fa98dc78c30dd9f9220e463ac 100644 (file)
--- a/_vcsh
+++ b/_vcsh
@@ -8,6 +8,8 @@ _arguments \
                enter\:"Enter repo; spawn new \$SHELL"
                init\:"init & clone from repo"
                list\:"list all repos"
                enter\:"Enter repo; spawn new \$SHELL"
                init\:"init & clone from repo"
                list\:"list all repos"
+               list-tracked\:"list all files tracked by vcsh"
+               list-tracked-by\:"list files tracked by a repo"
                rename\:"rename repo"
                run\:"run command on repo"
                seed-gitignore\:"seed .gitignore.d/foo from git ls-files"
                rename\:"rename repo"
                run\:"run command on repo"
                seed-gitignore\:"seed .gitignore.d/foo from git ls-files"
index 0ea94286e26fc64ca2e8b4637dbd9b3976031b41..e434b3c0f732e4b03e8d66c70173bf6ad16dc68c 100644 (file)
@@ -15,6 +15,10 @@ vcsh(1) - manage and sync config files via git
 
 `vcsh` list
 
 
 `vcsh` list
 
+`vcsh` list-tracked
+
+`vcsh` list-tracked-by <repo>
+
 `vcsh` rename <repo> <newname>
 
 `vcsh` run <repo> <command>
 `vcsh` rename <repo> <newname>
 
 `vcsh` run <repo> <command>
@@ -68,6 +72,12 @@ an interactive user.
 * list:
   List all local vcsh repositories.
 
 * list:
   List all local vcsh repositories.
 
+* list-tracked:
+  List all files tracked by vcsh.
+
+* list-tracked-by:
+  List files tracked by a repository.
+
 * rename:
   Rename a repository.
 
 * rename:
   Rename a repository.
 
diff --git a/vcsh b/vcsh
index b0ffb64c3eee3e132be31ea945be20552308f7d9..60bcc41f727aad5784c8ea4fe37f75e31f6ff798 100755 (executable)
--- a/vcsh
+++ b/vcsh
@@ -16,6 +16,9 @@ help() {
    enter                Enter repository; spawn new $SHELL
    init <repo>          Initialize a new repository
    list                 List all repositories
    enter                Enter repository; spawn new $SHELL
    init <repo>          Initialize a new repository
    list                 List all repositories
+   list-tracked         List all files tracked by vcsh
+   list-tracked-by \\
+        <repo>          List files tracked by a repository
    rename <repo> \\
           <newname>     Rename repository
    run <repo> \\
    rename <repo> \\
           <newname>     Rename repository
    run <repo> \\