Linus Torvalds [off-list ref] writes:
As to "diff_queued_diff", I think it would be better off not as a global
at all, but as being just an entry in the "struct diff_options" structure,
but that's a separate issue, and there may be some subtle reason for why
it's currently a global.
There is no subtle issue that I know of, but I have to double
check. It is just that the code is one of the most ancient part
of the system by now.