Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Hey team,
Currently, when using the code search functionality to find text within the diff - this will only search the latest commit hashes rather than the full commit history, it will also only show results from the main branch.
We have had a customer reach out requesting that the entire history be able to be searched, this way they could find which commits have specific text in the diff and which do not.
Workaround:
- Using git grep command can be used to search for specific phrases throughout a commit history:
git grep hello $(git rev-list --all)
Cheers!
- Ben (Bitbucket Cloud Support)