> What's the proper way to re-index a subset of files that have changed
> in a tree?
> When I just re-run genxref, the updated files don't seem to get their
> identitifer line numbers updated.
Unfortunately the short answer is that there's no way to do this - the
whole tree has to be re-indexed.
The slightly longer answer is that there were some patches/suggestions
for how to make this work floating around (check out the lxr project
page on SourceForge), but I don't think any of them were working.
If you do just re-run genxref, the result is that both the new & old
positions of the identifiers will show up in the results. What I've
done previously was to let these errors accumulate during the week (when
there wasn't time to fully re-index) and then do a complete clean
re-index over the weekend.
If anyone wants to finish off the work on making incremental indexing
work then I'd be glad to merge the patches.
Get latest updates about Open Source Projects, Conferences and News.