Skip to content

search: normalize empty string as HEAD when indexing

Administrator requested to merge k/empty-branch into main

Created by: keegancsmith

I noticed in some logs that we are indexing in zoekt both HEAD and "", which resolve to the same commit. This does not cause any issues, it is just suboptimal. This ensures that we never index "", since we already always index HEAD.

Merge request reports

Loading