Skip to content

Commit 88d4d92

Browse files
committed
fix(statusline): correct ahead/behind mapping in git remote status
1 parent 4749062 commit 88d4d92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/lib/git.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ M.remote_status = function(callback, cwd)
109109
return
110110
end
111111

112-
local ahead, behind = c_result.stdout:match("^(%d+)%s+(%d+)")
112+
local behind, ahead = c_result.stdout:match("^(%d+)%s+(%d+)")
113113
ahead = tonumber(ahead) or 0
114114
behind = tonumber(behind) or 0
115115

0 commit comments

Comments
 (0)