Merge "Factor out change-by-commit logic from project indexer"