summaryrefslogtreecommitdiff
path: root/contrib/credential/netrc/git-credential-netrc
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-05-16 16:48:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-18 06:35:35 +0900
commit6373cb598e1a4e0340583ad75d5abba01ff79774 (patch)
treed9d49fbbc92bebbd228816ca736af7b23403c74f /contrib/credential/netrc/git-credential-netrc
parentsubmodule: convert push_unpushed_submodules to take a struct refspec (diff)
downloadtgif-6373cb598e1a4e0340583ad75d5abba01ff79774.tar.xz
refspec: consolidate ref-prefix generation logic
When using protocol v2 a client constructs a list of ref-prefixes which are sent across the wire so that the server can do server-side filtering of the ref-advertisement. The logic that does this exists for both fetch and push (even though no push support for v2 currently exists yet) and is roughly the same so lets consolidate this logic and make it general enough that it can be used for both the push and fetch cases. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/credential/netrc/git-credential-netrc')
0 files changed, 0 insertions, 0 deletions