For example, if a certain recruiting tactic would double the number of qualified male applicants, but halve the number of qualified female applicants, it is clearly a short-term gain for a company.
That's why the statement quoted in the grandparent post is wrong.
Obviously it's bad for the industry to have a culture that is so exclusionary of 50% of the population, but that's more of a long-term goal. There is very little any company can do to e.g. increase the number of women graduating from CS programs in the next 3 years, since that number is more-or-less fixed now.