File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function M.get_local_branches(include_current)
68
68
end
69
69
70
70
function M .get_remote_branches (include_current )
71
- local branches = git .cli .branch .remotes .list (config .values .sort_branches ).call ({ hidden = true }).stdout
71
+ local branches = git .cli .branch .remotes .sort (config .values .sort_branches ).call ({ hidden = true }).stdout
72
72
return parse_branches (branches , include_current )
73
73
end
74
74
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ local runner = require("neogit.runner")
39
39
--- @field on_error fun ( res : ProcessResult ): boolean function to call if the process exits with status > 0. Used to
40
40
--- determine how to handle the error, if user should be alerted or not
41
41
42
-
43
42
--- @class GitCommandShow : GitCommandBuilder
44
43
--- @field stat self
45
44
--- @field oneline self
@@ -314,7 +313,6 @@ local runner = require("neogit.runner")
314
313
315
314
--- @class GitCommandBisect : GitCommandBuilder
316
315
317
-
318
316
--- @class NeogitGitCLI
319
317
--- @field absorb GitCommandAbsorb
320
318
--- @field add GitCommandAdd
@@ -759,7 +757,7 @@ local configurations = {
759
757
move = " -m" ,
760
758
},
761
759
options = {
762
- sort = " --sort"
760
+ sort = " --sort" ,
763
761
},
764
762
aliases = {
765
763
name = function (tbl )
@@ -776,7 +774,7 @@ local configurations = {
776
774
verbose = " --verbose" ,
777
775
},
778
776
options = {
779
- jobs = " --jobs"
777
+ jobs = " --jobs" ,
780
778
},
781
779
},
782
780
You can’t perform that action at this time.
0 commit comments