We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e413a58 commit 8d33582Copy full SHA for 8d33582
GitContentSearch.UI/ViewModels/MainWindowViewModel.cs
@@ -499,6 +499,9 @@ private void StartSearch()
499
return;
500
}
501
502
+ // Trim leading slash if present, as it's meant to be relative to the git repository
503
+ FilePath = FilePath.TrimStart('/');
504
+
505
IsSearching = true;
506
IsLocating = false; // Ensure IsLocating is reset when starting a search
507
IsProcessingCommand = true; // Set to true when starting a command
0 commit comments