summaryrefslogtreecommitdiff
path: root/contrib/gitview
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2017-01-28 22:42:15 +0100
committerJunio C Hamano <gitster@pobox.com>2017-01-30 14:23:12 -0800
commit9e2edd66dda418dad751d5eb2e5921e05e57cd30 (patch)
tree4c81efb368f0fa60a228f64300901cf1ca67e82c /contrib/gitview
parent402bf8e19832142de97d84d37c51262d91e5f2db (diff)
downloadgit-rs/swap.tar.gz
graph: use SWAP macrors/swap
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 'contrib/gitview')
0 files changed, 0 insertions, 0 deletions