Before this commit, git push only knew '-v'.
Signed-off-by: Steffen Prohaska <redacted>
---
Documentation/git-push.txt | 4 ++--
builtin-push.c | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 236898f..865f183 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git-push' [--all] [--dry-run] [--create] [--tags] [--receive-pack=<git-receive-pack>]
- [--repo=all] [-f | --force] [-v] [HEAD | <repository> <refspec>...]
+ [--repo=all] [-f | --force] [-v | --verbose] [HEAD | <repository> <refspec>...]
DESCRIPTION
-----------
@@ -105,7 +105,7 @@ the remote repository.
transfer spends extra cycles to minimize the number of
objects to be sent and meant to be used on slower connection.
--v::
+-v, \--verbose::
Run verbosely.
include::urls-remotes.txt[]
diff --git a/builtin-push.c b/builtin-push.c
index 7c08e19..9103d57 100644
--- a/builtin-push.c
+++ b/builtin-push.c
@@ -112,6 +112,10 @@ int cmd_push(int argc, const char **argv, const char *prefix)
verbose=1;
continue;
}
+ if (!strcmp(arg, "--verbose")) {
+ verbose=1;
+ continue;
+ }
if (!prefixcmp(arg, "--repo=")) {
repo = arg+7;
continue;--
1.5.3.4.439.ge8b49