Skip to content

Commit b81f37e

Browse files
committed
lint
1 parent 1111b9d commit b81f37e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lua/neogit/lib/git/branch.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function M.get_local_branches(include_current)
6868
end
6969

7070
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
7272
return parse_branches(branches, include_current)
7373
end
7474

lua/neogit/lib/git/cli.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ local runner = require("neogit.runner")
3939
---@field on_error fun(res: ProcessResult): boolean function to call if the process exits with status > 0. Used to
4040
--- determine how to handle the error, if user should be alerted or not
4141

42-
4342
---@class GitCommandShow: GitCommandBuilder
4443
---@field stat self
4544
---@field oneline self
@@ -314,7 +313,6 @@ local runner = require("neogit.runner")
314313

315314
---@class GitCommandBisect: GitCommandBuilder
316315

317-
318316
---@class NeogitGitCLI
319317
---@field absorb GitCommandAbsorb
320318
---@field add GitCommandAdd
@@ -759,7 +757,7 @@ local configurations = {
759757
move = "-m",
760758
},
761759
options = {
762-
sort = "--sort"
760+
sort = "--sort",
763761
},
764762
aliases = {
765763
name = function(tbl)
@@ -776,7 +774,7 @@ local configurations = {
776774
verbose = "--verbose",
777775
},
778776
options = {
779-
jobs = "--jobs"
777+
jobs = "--jobs",
780778
},
781779
},
782780

0 commit comments

Comments
 (0)