Description
GitSync currently makes it easy to sync and browse repositories, but it would be useful to also be able to search within the currently selected repository.
For example, if I know a file or piece of text contains some combination of terms like:
foo bar baz
I'd like to be able to search for those terms without knowing the exact filename or exact phrase.
Describe the solution you'd like
Add a search field for the current repository that searches file names and file contents.
For multi-term searches, results could be ranked by how many search terms they match. For example:
matches foo, bar, and baz → highest
matches two terms → next
matches one term → lower
matches none → excluded
So the terms would behave roughly like OR matching with simple relevance ranking rather than requiring every term to match.
It may also be useful to support a simple optional wildcard but substring may be enough.
wildcard like
foo*bar
where * matches any sequence of characters.
I don't think this needs advanced query syntax or full regex support; a lightweight local search would cover the main use case.
Describe alternatives you've considered
Describe alternatives you've considered
The main workaround is opening the repository in another app that supports searching files, or using command-line tools such as grep.
Those work, but they add friction when the repository is already available in GitSync and I just want to quickly find a file or piece of text on my phone and preferably within the app so I can search edit and sync seamlessly
Description
GitSync currently makes it easy to sync and browse repositories, but it would be useful to also be able to search within the currently selected repository.
For example, if I know a file or piece of text contains some combination of terms like:
foo bar baz
I'd like to be able to search for those terms without knowing the exact filename or exact phrase.
Describe the solution you'd like
Add a search field for the current repository that searches file names and file contents.
For multi-term searches, results could be ranked by how many search terms they match. For example:
matches foo, bar, and baz → highest
matches two terms → next
matches one term → lower
matches none → excluded
So the terms would behave roughly like OR matching with simple relevance ranking rather than requiring every term to match.
It may also be useful to support a simple optional wildcard but substring may be enough.
wildcard like
foo*bar
where * matches any sequence of characters.
I don't think this needs advanced query syntax or full regex support; a lightweight local search would cover the main use case.
Describe alternatives you've considered
Describe alternatives you've considered
The main workaround is opening the repository in another app that supports searching files, or using command-line tools such as grep.
Those work, but they add friction when the repository is already available in GitSync and I just want to quickly find a file or piece of text on my phone and preferably within the app so I can search edit and sync seamlessly