diff --git a/lua/neogit/popups/log/init.lua b/lua/neogit/popups/log/init.lua index 9420686a5..64ffa55ab 100644 --- a/lua/neogit/popups/log/init.lua +++ b/lua/neogit/popups/log/init.lua @@ -24,6 +24,7 @@ function M.create() :option("u", "until", "", "Limit to commits until", { key_prefix = "-" }) :switch("m", "no-merges", "Omit merges", { key_prefix = "=" }) :switch("p", "first-parent", "First parent", { key_prefix = "=" }) + :switch("i", "invert-grep", "Invert search messages", { key_prefix = "-" }) :arg_heading("History Simplification") :switch("D", "simplify-by-decoration", "Simplify by decoration") :option("-", "", "", "Limit to files", { diff --git a/spec/popups/log_popup_spec.rb b/spec/popups/log_popup_spec.rb index ec343f4d5..88bfebfb1 100644 --- a/spec/popups/log_popup_spec.rb +++ b/spec/popups/log_popup_spec.rb @@ -19,6 +19,7 @@ " -u Limit to commits until (--until=) ", " =m Omit merges (--no-merges) ", " =p First parent (--first-parent) ", + " -i Invert search messages (--invert-grep) ", " ", " History Simplification ", " -D Simplify by decoration (--simplify-by-decoration) ",