gicmo/dxr — comment on commit 1a3101a33067b30ba37e05ec23d98ec240f87846
File:  line 0
By gicmo:

The main point of the patch to really just warn if you called setup-env.sh with objdir==srcdir. The two main reasons for doing so is to 1) give a general warning, since it is not recommended to do so. 2) we might get the attention of the caller in cases where objdir != srcdir but it was forgotten to pass it as the argument.
I guess the problem you are speaking of is the latter case (objdir != srcdir and not passing in objdir as a parameter to setup-env.sh), and it is true it would be good if we could fix that. But in the indexer.py it is already too late and in setup-env.sh very hard to fix. I consider this patch a nice hint to the developer for the problem though.