You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow fulltext search across all fields (SHA hash, title, author name...) #985
Currently Sourcegit can search for commits in various fields: commit SHA hash, commit message, author, etc. But each of these search fields (or "categories") must be selected individually before initiating the search.
I would like Sourcegit to have an option to perform a "fulltext" search that performs the search on all of the fields at the same time.
Why
I often switch the fields I search by. Sometimes I want to search by "Author" to look for commits made by a colleague, other times I want to search for a specific term in all commit messages. Each time I want to search for something else I have to select the corresponding field in the dropdown, which is unnecessary and a little bit annoying. If the search would automatically search all of the fields I would not have to change the settings back and forth all the time.
Messsage: a litte bit complex. First input string will be split into words, and joined with --grep="<escaped_word>" format, and then use git log -1000 --date-order --no-show-signature --decorate=full --pretty=format:%H%n%P%n%D%n%aN±%aE%n%at%n%cN±%cE%n%ct%n%s --all-match -i <joined_string>
Activity
love-linger commentedon Mar 6, 2025
The GIT commands used behind these 5 ways are completely different, and I haven't found any that support the
ORoperation.git show --no-show-signature --decorate=full --pretty=format:%H%n%P%n%D%n%aN±%aE%n%at%n%cN±%cE%n%ct%n%s -s <commit_hash>git log -1000 --date-order --no-show-signature --decorate=full --pretty=format:%H%n%P%n%D%n%aN±%aE%n%at%n%cN±%cE%n%ct%n%s -i --author=<author>git log -1000 --date-order --no-show-signature --decorate=full --pretty=format:%H%n%P%n%D%n%aN±%aE%n%at%n%cN±%cE%n%ct%n%s -i --committer=<committer>git log -1000 --date-order --no-show-signature --decorate=full --pretty=format:%H%n%P%n%D%n%aN±%aE%n%at%n%cN±%cE%n%ct%n%s -- <pathspec>--grep="<escaped_word>"format, and then usegit log -1000 --date-order --no-show-signature --decorate=full --pretty=format:%H%n%P%n%D%n%aN±%aE%n%at%n%cN±%cE%n%ct%n%s --all-match -i <joined_string>mdindoffer commentedon Mar 6, 2025
Well, if git does not support this out of the box, you can always just perform individual searches and then merge the results.
love-linger commentedon Mar 10, 2025
It will take too much time
feature: add fulltext commit search across SHA/author/committer/messa…
feature: add fulltext commit search across SHA/author/committer/messa…