diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-10-16 00:35:22 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-10-16 00:36:35 -0400 |
commit | fe5d1d3eb42e6cf3dca93b2277be9464b026fcf2 (patch) | |
tree | b5d134260150fc4e7fad0d47df4f7793aeee167b /Documentation/git-http-push.txt | |
parent | ee020f3598f0dc86a939fb8597845594bf664898 (diff) | |
download | git-fe5d1d3eb42e6cf3dca93b2277be9464b026fcf2.tar.gz |
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/git-http-push.txt')
-rw-r--r-- | Documentation/git-http-push.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-http-push.txt b/Documentation/git-http-push.txt index 9afb860381..3a69b719b5 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. |