summaryrefslogtreecommitdiff
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-08-15 11:37:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-15 13:23:19 -0700
commit887f3533fd764722ffb6e4ea34c01ad9256f0186 (patch)
treecb7084c019f7fc0036703328022e9dd89c27b991 /Documentation/git.txt
parentsend-pack: always send capabilities (diff)
downloadtgif-887f3533fd764722ffb6e4ea34c01ad9256f0186.tar.xz
send-pack: factor out capability string generation
A run of 'var ? " var" : ""' fed to a long printf string in a deeply nested block was hard to read. Move it outside the loop and format it into a strbuf. As an added bonus, the trick to add "agent=<agent-name>" by using two conditionals is replaced by a more readable version. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git.txt')
0 files changed, 0 insertions, 0 deletions