Skip to content

Commit

Permalink
Add "invert-grep" flag option to log popup
Browse files Browse the repository at this point in the history
closes #1509
  • Loading branch information
CKolkey committed Oct 18, 2024
1 parent 3e44062 commit c80d4b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/neogit/popups/log/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down
1 change: 1 addition & 0 deletions spec/popups/log_popup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) ",
Expand Down

0 comments on commit c80d4b1

Please sign in to comment.