summaryrefslogtreecommitdiff
path: root/Documentation/git-send-pack.txt
diff options
context:
space:
mode:
authorBrian Ewins <brian.ewins@gmail.com>2007-10-11 19:32:26 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-10-16 02:02:52 (GMT)
commita63103ae4f02f8890d381de352dbfc6cba0b646f (patch)
tree7a3424c6408a63e08dc74c9d71d0db7ab7f93940 /Documentation/git-send-pack.txt
parent90d16ec032b20f9f1146f3aceca12165aba3b6d6 (diff)
downloadgit-a63103ae4f02f8890d381de352dbfc6cba0b646f.zip
git-a63103ae4f02f8890d381de352dbfc6cba0b646f.tar.gz
git-a63103ae4f02f8890d381de352dbfc6cba0b646f.tar.bz2
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/git-send-pack.txt')
-rw-r--r--Documentation/git-send-pack.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-send-pack.txt b/Documentation/git-send-pack.txt
index 3271e88..2fa01d4 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.