feature: supports search commit only in current branch

This commit is contained in:
leo 2024-09-27 11:17:02 +08:00
parent 027844f4c5
commit 130c98ad40
No known key found for this signature in database
14 changed files with 47 additions and 36 deletions

View file

@ -544,7 +544,8 @@ namespace SourceGit.ViewModels
private void TryToAddContextMenuItemsForGitLFS(ContextMenu menu, string path)
{
var lfsEnabled = new Commands.LFS(_repo.FullPath).IsEnabled();
if (!lfsEnabled) return;
if (!lfsEnabled)
return;
var lfs = new MenuItem();
lfs.Header = App.Text("GitLFS");