diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-29 22:08:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-29 22:08:17 -0700 |
commit | 060517093ecfdf39e89edc79678ce1ba9ff52ec5 (patch) | |
tree | b545792635091f7b4fe082feac167017b92bb858 /Documentation | |
parent | e7867e80f00bf54634a2e15abd762ac615c5b791 (diff) | |
parent | 26be19ba8d8d2e7e3e288b395e7156d5b7af5140 (diff) | |
download | git-060517093ecfdf39e89edc79678ce1ba9ff52ec5.tar.gz |
Merge branch 'jk/send-pack-many-refspecs' into maint
"git push" over HTTP transport had an artificial limit on number of
refs that can be pushed imposed by the command line length.
* jk/send-pack-many-refspecs:
send-pack: take refspecs over stdin
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-send-pack.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/git-send-pack.txt b/Documentation/git-send-pack.txt index dc3a568baa..2a0de42a75 100644 --- a/Documentation/git-send-pack.txt +++ b/Documentation/git-send-pack.txt @@ -35,6 +35,16 @@ OPTIONS Instead of explicitly specifying which refs to update, update all heads that locally exist. +--stdin:: + Take the list of refs from stdin, one per line. If there + are refs specified on the command line in addition to this + option, then the refs from stdin are processed after those + on the command line. ++ +If '--stateless-rpc' is specified together with this option then +the list of refs must be in packet format (pkt-line). Each ref must +be in a separate packet, and the list must end with a flush packet. + --dry-run:: Do everything except actually send the updates. @@ -77,7 +87,8 @@ this flag. Without '--all' and without any '<ref>', the heads that exist both on the local side and on the remote side are updated. -When one or more '<ref>' are specified explicitly, it can be either a +When one or more '<ref>' are specified explicitly (whether on the +command line or via `--stdin`), it can be either a single pattern, or a pair of such pattern separated by a colon ":" (this means that a ref name cannot have a colon in it). A single pattern '<name>' is just a shorthand for '<name>:<name>'. |