]> 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 documentation for `list-untracked`
authorRichard Hartmann <richih@debian.org>
Wed, 22 Oct 2014 22:57:01 +0000 (00:57 +0200)
committerRichard Hartmann <richih@debian.org>
Wed, 22 Oct 2014 22:57:01 +0000 (00:57 +0200)
doc/vcsh.1.ronn
vcsh

index 05da4fad8bfe18dce47ab8aaa2c3dc9f9c619275..2d0a7abf93b57b4e7b95c31e7428b690447f6b6e 100644 (file)
@@ -21,6 +21,8 @@ vcsh(1) - Version Control System for $HOME - multiple Git repositories in $HOME
 
 `vcsh` list-tracked-by <repo>
 
+`vcsh` list-untracked
+
 `vcsh` pull
 
 `vcsh` push
@@ -110,6 +112,13 @@ an interactive user.
 * list-tracked-by:
   List files tracked by a repository.
 
+* list-untracked:
+  List all files NOT tracked by vcsh.
+
+  By default, the file list is shallow and stops at directory levels where
+  possible. If you prefer to get a list of all files, append `-r` for
+  recursive mode.
+
 * pull:
   Pull from all vcsh remotes.
 
diff --git a/vcsh b/vcsh
index 1d947d1ae920db1a81e76be3a86bf5a700ff4e25..a19aceb331129c27dba263558cb00bc8d3935a5d 100755 (executable)
--- a/vcsh
+++ b/vcsh
@@ -109,6 +109,7 @@ help() {
    list-tracked         List all files tracked by vcsh
    list-tracked-by \\
         <repo>          List files tracked by a repository
+   list-untracked       List all files not tracked by vcsh
    pull                 Pull from all vcsh remotes
    push                 Push to vcsh remotes
    rename <repo> \\