summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-07-09 08:07:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-07-09 08:07:54 (GMT)
commit3125be17d66e65c854249fb6a0c05322798593fe (patch)
treebef05137065b4e424232c002be3f3e3bbbe8ba23 /Documentation
parent1d4bf0b362bbe26f6a8b6e8e278cd45986de4aeb (diff)
parent1965ff744a7e4cdefcc467991182b779f3c9d0e8 (diff)
downloadgit-3125be17d66e65c854249fb6a0c05322798593fe.zip
git-3125be17d66e65c854249fb6a0c05322798593fe.tar.gz
git-3125be17d66e65c854249fb6a0c05322798593fe.tar.bz2
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 fd53c49..2653388 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