diff options
author | Brian Ewins <brian.ewins@gmail.com> | 2007-10-11 20:32:26 +0100 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-10-15 22:02:52 -0400 |
commit | a63103ae4f02f8890d381de352dbfc6cba0b646f (patch) | |
tree | 7a3424c6408a63e08dc74c9d71d0db7ab7f93940 /Documentation | |
parent | 90d16ec032b20f9f1146f3aceca12165aba3b6d6 (diff) | |
download | git-a63103ae4f02f8890d381de352dbfc6cba0b646f.tar.gz git-a63103ae4f02f8890d381de352dbfc6cba0b646f.tar.xz |
Add a --dry-run option to git-send-pack.
Implement support for --dry-run, so that it can be used
in calls from git-push. With this flag set, git-send-pack
will not send any updates to the server.
Signed-off-by: Brian Ewins <brian.ewins@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-send-pack.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-send-pack.txt b/Documentation/git-send-pack.txt index 3271e8818..2fa01d4a3 100644 --- a/Documentation/git-send-pack.txt +++ b/Documentation/git-send-pack.txt @@ -8,7 +8,7 @@ git-send-pack - Push objects over git protocol to another repository SYNOPSIS -------- -'git-send-pack' [--all] [--force] [--receive-pack=<git-receive-pack>] [--verbose] [--thin] [<host>:]<directory> [<ref>...] +'git-send-pack' [--all] [--dry-run] [--force] [--receive-pack=<git-receive-pack>] [--verbose] [--thin] [<host>:]<directory> [<ref>...] DESCRIPTION ----------- @@ -34,6 +34,9 @@ OPTIONS Instead of explicitly specifying which refs to update, update all heads that locally exist. +\--dry-run:: + Do everything except actually send the updates. + \--force:: Usually, the command refuses to update a remote ref that is not an ancestor of the local ref used to overwrite it. |