Skip to content

New output style for git remote show

Jay Soffian git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13remote: rename variable and eliminate redundant function callbuiltin-remote.c+6 -70 replies
2/13remote: remove unused code in get_ref_statesbuiltin-remote.c+3 -100 replies
3/13remote: fix two inconsistencies in the output of "show <remote>"builtin-remote.c t/t5505-remote.sh+11 -60 replies
4/13remote: make get_remote_ref_states() always populate states.trackedbuiltin-remote.c+20 -213 replies
5/13remote: name remote_refs consistentlybuiltin-remote.c+11 -110 replies
6/13string-list: new for_each_string_list() functionstring-list.c string-list.h+15 -00 replies
7/13remote: new show output stylebuiltin-remote.c t/t5505-remote.sh+161 -572 replies
8/13refactor duplicated get_local_heads() to remote.cbuiltin-send-pack.c http-push.c remote.c +1 more+31 -480 replies
9/13refactor duplicated ref_newer() to remote.cbuiltin-send-pack.c http-push.c remote.c +1 more+50 -984 replies
10/13remote.c: make match_refs() copy src ref before assigning to peer_refremote.c+5 -27 replies
11/13remote.c: don't short-circuit match_refs() when error in match_explicit_refs()remote.c+4 -22 replies
12/13remote.c: refactor get_remote_ref_states()builtin-remote.c+15 -84 replies
13/13remote: new show output style for push refspecsbuiltin-remote.c t/t5505-remote.sh+219 -390 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] New output style for git remote show

Junio, this is based on pu, as it builds on my and Jeff's git remote changes. Patches 1-7 are about new output style for "git remote show" for everything but the push refspecs. Patches 8-13 then culiminate in teaching it a new output style for push refspecs as well.

1-4 were previously a single patch which I broke up per your feedback (gmane 110806).

Jay Soffian (13):
remote: rename variable and eliminate redundant function call
remote: remove unused code in get_ref_states
remote: fix two inconsistencies in the output of "show <remote>"
remote: make get_remote_ref_states() always populate states.tracked
remote: name remote_refs consistently
string-list: new for_each_string_list() function
remote: new show output style
refactor duplicated get_local_heads() to remote.c
refactor duplicated ref_newer() to remote.c
remote.c: make match_refs() copy src ref before assigning to peer_ref remote.c: don't short-circuit match_refs() when error in
match_explicit_refs()
remote.c: refactor get_remote_ref_states()
remote: new show output style for push refspecs

 builtin-remote.c    |  469 ++++++++++++++++++++++++++++++++++++++++-----------
 builtin-send-pack.c |   78 +---------
 http-push.c         |   72 +--------
 remote.c            |   88 +++++++++-
 remote.h            |    2 +
 string-list.c       |   10 +
 string-list.h       |    5 +
 t/t5505-remote.sh   |   66 +++++---
 8 files changed, 516 insertions(+), 274 deletions(-)