summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-07-09 01:07:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-07-09 01:07:54 -0700
commit3125be17d66e65c854249fb6a0c05322798593fe (patch)
treebef05137065b4e424232c002be3f3e3bbbe8ba23 /Documentation
parentMerge branch 'gb/gitweb-avatar' (diff)
parentadd --porcelain option to git-push (diff)
downloadtgif-3125be17d66e65c854249fb6a0c05322798593fe.tar.xz
Merge branch 'ld/push-porcelain-output-format'
* ld/push-porcelain-output-format: add --porcelain option to git-push
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-push.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index fd53c49fb8..2653388fd8 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -85,6 +85,11 @@ nor in any Push line of the corresponding remotes file---see below).
--dry-run::
Do everything except actually send the updates.
+--porcelain::
+ Produce machine-readable output. The output status line for each ref
+ will be tab-separated and sent to stdout instead of stderr. The full
+ symbolic names of the refs will be given.
+
--tags::
All refs under `$GIT_DIR/refs/tags` are pushed, in
addition to refspecs explicitly listed on the command
@@ -148,6 +153,12 @@ representing the status of a single ref. Each line is of the form:
<flag> <summary> <from> -> <to> (<reason>)
-------------------------------
+If --porcelain is used, then each line of the output is of the form:
+
+-------------------------------
+ <flag> \t <from>:<to> \t <summary> (<reason>)
+-------------------------------
+
flag::
A single character indicating the status of the ref. This is
blank for a successfully pushed ref, `!` for a ref that was