summaryrefslogtreecommitdiff
path: root/t/t5100/info0009
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-01-28 22:42:15 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-30 14:23:12 -0800
commit9e2edd66dda418dad751d5eb2e5921e05e57cd30 (patch)
tree4c81efb368f0fa60a228f64300901cf1ca67e82c /t/t5100/info0009
parentdiff: use SWAP macro (diff)
downloadtgif-9e2edd66dda418dad751d5eb2e5921e05e57cd30.tar.xz
graph: use SWAP macro
Exchange the values of graph->columns and graph->new_columns using the macro SWAP instead of hand-rolled code. The result is shorter and easier to read. This transformation was not done by the semantic patch swap.cocci because there's an unrelated statement between the second and the last step of the exchange, so it didn't match the expected pattern. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/info0009')
0 files changed, 0 insertions, 0 deletions