mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
Add a sort order menu for local branches
This commit is contained in:
committed by
Stefan Haller
parent
1e85c4379f
commit
36a29f225b
@@ -323,6 +323,7 @@ type AppState struct {
|
||||
HideCommandLog bool
|
||||
IgnoreWhitespaceInDiffView bool
|
||||
DiffContextSize int
|
||||
LocalBranchSortOrder string
|
||||
RemoteBranchSortOrder string
|
||||
}
|
||||
|
||||
@@ -332,6 +333,7 @@ func getDefaultAppState() *AppState {
|
||||
RecentRepos: []string{},
|
||||
StartupPopupVersion: 0,
|
||||
DiffContextSize: 3,
|
||||
LocalBranchSortOrder: "recency",
|
||||
RemoteBranchSortOrder: "alphabetical",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user