summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-05-30 10:34:58 +0200
committerPatrick Steinhardt <ps@pks.im>2018-05-30 10:35:43 +0200
commit9c698a256f27bfe98df39322c3e29a02d48f6973 (patch)
tree5d2cc4e8cc8599801b68ba523c473665c0a5bf95 /tests/diff/diffiter.c
parentcf5030a37f33c42f6369732b0e328e42ef48432c (diff)
downloadlibgit2-9c698a256f27bfe98df39322c3e29a02d48f6973.tar.gz
submodule: remove useless mask computations
Previous to dfda2f68e (submodule: remove the per-repo cache, 2015-04-27), we tried to cache our submodules per repository to avoid having to reload it too frequently. As it created some headaches with regards to multithreading, we removed that cache. Previous to that removal, we had to compute what submodule status to refresh. The mask computation was not removed, though, resulting in confusing and actually dead code. While it seems like the mask is currently in use in a conditional, it is not, as we unconditionally assign to the mask previous to that condition. Remove all mask computations to clean up stale code.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions