]> arthur.barton.de Git - bup.git/commit
cmd-index: only update if -u is given; print only given file/dirnames.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 10 Jan 2010 00:27:26 +0000 (19:27 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 10 Jan 2010 00:32:20 +0000 (19:32 -0500)
commit83087a62272d522da61e83557c30b4894d735e9a
treefbb1440dc58b91e8fb63d80a52b816bd79205c1a
parent03c97d47ac6f37d70caf74b3be3d08f3eff9272c
cmd-index: only update if -u is given; print only given file/dirnames.

cmd-index now does two things:
 - it updates the index with the given names if -u is given
 - it prints the index if -p, -s, or -m are given.

In both cases, if filenames are given, it operates (recursively) on the
given filenames or directories.  If no filenames are given, -u fails (we
don't want to default to /; it's too slow) but -p/s/m just prints the whole
index.
cmd-index.py