summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-10-16 04:35:22 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-10-16 04:36:35 (GMT)
commitfe5d1d3eb42e6cf3dca93b2277be9464b026fcf2 (patch)
treeb5d134260150fc4e7fad0d47df4f7793aeee167b /Documentation
parentee020f3598f0dc86a939fb8597845594bf664898 (diff)
downloadgit-fe5d1d3eb42e6cf3dca93b2277be9464b026fcf2.zip
git-fe5d1d3eb42e6cf3dca93b2277be9464b026fcf2.tar.gz
git-fe5d1d3eb42e6cf3dca93b2277be9464b026fcf2.tar.bz2
Support 'push --dry-run' for http transport
If the end-user requested a dry-run push we need to pass that flag over to http-push and additionally make sure it does not actually upload any changes to the remote server. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-http-push.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-http-push.txt b/Documentation/git-http-push.txt
index 9afb860..3a69b71 100644
--- a/Documentation/git-http-push.txt
+++ b/Documentation/git-http-push.txt
@@ -8,7 +8,7 @@ git-http-push - Push objects over HTTP/DAV to another repository
SYNOPSIS
--------
-'git-http-push' [--all] [--force] [--verbose] <url> <ref> [<ref>...]
+'git-http-push' [--all] [--dry-run] [--force] [--verbose] <url> <ref> [<ref>...]
DESCRIPTION
-----------
@@ -30,6 +30,9 @@ OPTIONS
the remote repository can lose commits; use it with
care.
+--dry-run::
+ Do everything except actually send the updates.
+
--verbose::
Report the list of objects being walked locally and the
list of objects successfully sent to the remote repository.