Skip to content

Fuzzy finder: don't force URL to use git SHA revision

Warren Gifford requested to merge olafurpg/fuzzy-finder-revision into main

Created by: olafurpg

Previously, the fuzzy finder always used URLs that pointed to the exact active git SHA (example: @cfd12491d0f2675ac630e06a3a040b94f3946f70). This behavior caused two problems:

  • when using the fuzzy finder, your URL can't point to a branch name like @main. You have to manually edit the URL if you want it to point to a non-SHA URL.
  • if you activated the fuzzy finder in a non-SHA URL (like @main) then you always re-downloaded the filenames the next time you activated the fuzzy finder (because your URL changed to a SHA URL like @cfd12491d0f2675ac630e06a3a040b94f3946f70).

This commit updates the fuzzy finder to use the revision (@main) URL, if it's available. This change fixes both problems above.

Merge request reports

Loading