summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-12-12 02:51:24 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-12 11:52:31 -0800
commit07b8738967a26dd7ab39d02b86aa805dea567319 (patch)
tree2683d25b0d76439d4cb6d0833d52cdc1ffaae63d /Documentation
parentdocs: mention "-k" for both forms of "git mv" (diff)
downloadtgif-07b8738967a26dd7ab39d02b86aa805dea567319.tar.xz
mv: honor --verbose flag
The code for a verbose flag has been here since "git mv" was converted to C many years ago, but actually getting the "-v" flag from the command line was accidentally lost in the transition. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-mv.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/git-mv.txt b/Documentation/git-mv.txt
index 4be7a718e6..e3c8448614 100644
--- a/Documentation/git-mv.txt
+++ b/Documentation/git-mv.txt
@@ -15,8 +15,8 @@ DESCRIPTION
-----------
This script is used to move or rename a file, directory or symlink.
- git mv [-f] [-n] [-k] <source> <destination>
- git mv [-f] [-n] [-k] <source> ... <destination directory>
+ git mv [-v] [-f] [-n] [-k] <source> <destination>
+ git mv [-v] [-f] [-n] [-k] <source> ... <destination directory>
In the first form, it renames <source>, which must exist and be either
a file, symlink or directory, to <destination>.
@@ -40,6 +40,10 @@ OPTIONS
--dry-run::
Do nothing; only show what would happen
+-v::
+--verbose::
+ Report the names of files as they are moved.
+
GIT
---
Part of the linkgit:git[1] suite