Skip to content

implement @{push} shorthand

Jeff King git 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 12 repliesIn review
  2. v212 patches 8 repliesSuperseded
  3. v16 patches 11 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14remote.c: drop default_remote_name variableremote.c+11 -120 replies
2/14remote.c: refactor setup of branch->merge listremote.c+15 -41 reply
3/14remote.c: drop "remote" pointer from "struct branch"Documentation/technical/api-remote.txt builtin/merge.c remote.c +1 more+5 -90 replies
4/14remote.c: hoist branch.*.remote lookup out of remote_get_1remote.c remote.h+15 -70 replies
5/14remote.c: provide per-branch pushremote nameremote.c remote.h+24 -180 replies
6/14remote.c: hoist read_config into remote_get_1remote.c+2 -20 replies
7/14remote.c: introduce branch_get_upstream helperbuiltin/branch.c builtin/for-each-ref.c builtin/log.c +2 more+23 -164 replies
8/14remote.c: report specific errors from branch_get_upstreambuiltin/branch.c builtin/for-each-ref.c builtin/log.c +4 more+48 -305 replies
9/14remote.c: add branch_get_pushremote.c remote.h+95 -00 replies
10/14sha1_name: refactor upstream_marksha1_name.c+9 -30 replies
11/14sha1_name: refactor interpret_upstream_marksha1_name.c+23 -210 replies
12/14sha1_name: implement @{push} shorthandDocumentation/revisions.txt sha1_name.c t/t1514-rev-parse-push.sh+101 -10 replies
13/14for-each-ref: use skip_prefix instead of starts_withbuiltin/for-each-ref.c+4 -20 replies
14/14for-each-ref: accept "%(push)" formatDocumentation/git-for-each-ref.txt builtin/for-each-ref.c t/t6300-for-each-ref.sh+33 -30 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/14] implement @{push} shorthand

This is a re-roll of the series at:

http://thread.gmane.org/gmane.comp.version-control.git/268185

The only changes here are the addition of patches 2 and 6, which are both cleanups that help make the other patches more readable/sensible. They are the same as what was posted during review of the thread linked above. So there's nothing new here, but of course fresh reviews are welcome.

[01/14]: remote.c: drop default_remote_name variable [02/14]: remote.c: refactor setup of branch->merge list [03/14]: remote.c: drop "remote" pointer from "struct branch" [04/14]: remote.c: hoist branch.*.remote lookup out of remote_get_1 [05/14]: remote.c: provide per-branch pushremote name [06/14]: remote.c: hoist read_config into remote_get_1 [07/14]: remote.c: introduce branch_get_upstream helper [08/14]: remote.c: report specific errors from branch_get_upstream [09/14]: remote.c: add branch_get_push
[10/14]: sha1_name: refactor upstream_mark
[11/14]: sha1_name: refactor interpret_upstream_mark [12/14]: sha1_name: implement @{push} shorthand
[13/14]: for-each-ref: use skip_prefix instead of starts_with [14/14]: for-each-ref: accept "%(push)" format

-Peff