author | Larry D'Anna <larry@elder-gods.org> | |
Tue, 23 Jun 2009 01:10:01 +0000 (21:10 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 28 Jun 2009 05:26:58 +0000 (22:26 -0700) | ||
commit | 1965ff744a7e4cdefcc467991182b779f3c9d0e8 | |
tree | 8e33d618c136bbd758b621f6f0b30f23c1a1f321 | tree | snapshot |
parent | 4f2b15ce88b70dd9e269517a9903864393ca873b | commit | diff |
add --porcelain option to git-push
If --porcelain is used git-push will 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. For example
$ git push --dry-run --porcelain master :foobar 2>/dev/null \
| perl -pe 's/\t/ TAB /g'
= TAB refs/heads/master:refs/heads/master TAB [up to date]
- TAB :refs/heads/foobar TAB [deleted]
Signed-off-by: Larry D'Anna <larry@elder-gods.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If --porcelain is used git-push will 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. For example
$ git push --dry-run --porcelain master :foobar 2>/dev/null \
| perl -pe 's/\t/ TAB /g'
= TAB refs/heads/master:refs/heads/master TAB [up to date]
- TAB :refs/heads/foobar TAB [deleted]
Signed-off-by: Larry D'Anna <larry@elder-gods.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt | diff | blob | history | |
builtin-push.c | diff | blob | history | |
transport.c | diff | blob | history | |
transport.h | diff | blob | history |