aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJoshua Minor <github@pixelverse.org>2021-11-21 15:40:45 -0800
committerJoshua Minor <github@pixelverse.org>2021-11-21 15:40:45 -0800
commit1cfa26ca4c455218f399fa87669c33d2ab87af33 (patch)
tree680b46b6aaf4fca8b9e55186dfdce8ef09c309d9 /plugins
parentc916e5cda7df66b9affae73b707435a614d7f4b3 (diff)
downloadlite-xl-plugins-1cfa26ca4c455218f399fa87669c33d2ab87af33.tar.gz
lite-xl-plugins-1cfa26ca4c455218f399fa87669c33d2ab87af33.zip
Removed redundant --stat option.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gitstatus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gitstatus.lua b/plugins/gitstatus.lua
index bb1882c..2578862 100644
--- a/plugins/gitstatus.lua
+++ b/plugins/gitstatus.lua
@@ -58,7 +58,7 @@ core.add_thread(function()
-- get diff
local diff = exec({"git", "diff", "--numstat"})
if config.gitstatus.recurse_submodules and system.get_file_info(".gitmodules") then
- local diff2 = exec({"git", "submodule", "foreach", "git diff --numstat --stat"})
+ local diff2 = exec({"git", "submodule", "foreach", "git diff --numstat"})
diff = diff .. diff2
end