jesseduffield.lazygit/vendor/github.com
Stefan Haller 3eb5841b83 Fix searching commits or main view after switching repos
When switching to a different repo, and then back to the original one, searching
would no longer work. The reason is that our contexts set callbacks on their
views; when switching to a different repo we instantiate a new set of contexts,
so they will overwrite the views' callbacks with their new ones, but when
switching back to the original repo, we reuse the old contexts because they are
still in memory, but they won't set their callbacks again since they only do
this on construction.

To fix this, replace the view-local callbacks with a global one on the gui that
takes the view as an argument, so that the callback can look up the associated
context dynamically.
2026-03-27 14:26:20 +01:00
..
adrg/xdg Switch to github.com/adrg/xdg 2024-02-18 15:36:56 +01:00
atotto/clipboard Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
aybabtme/humanlog update go to v1.18 2022-03-18 21:36:28 +11:00
bahlo/generic-list-go Add invopop/jsonschema fork 2023-12-02 10:46:24 +01:00
buger/jsonparser Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
cloudfoundry/jibber_jabber Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
creack/pty update go to v1.18 2022-03-18 21:36:28 +11:00
davecgh/go-spew switch to Go modules 2019-09-01 21:24:03 +10:00
fatih/color update go to v1.18 2022-03-18 21:36:28 +11:00
gdamore Bump gocui 2026-01-28 20:57:09 +01:00
go-errors/errors Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
go-logfmt/logfmt Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
gookit/color update go to v1.18 2022-03-18 21:36:28 +11:00
integrii/flaggy Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
jesseduffield Fix searching commits or main view after switching repos 2026-03-27 14:26:20 +01:00
kardianos/osext update go to v1.18 2022-03-18 21:36:28 +11:00
karimkhaleel/jsonschema Add invopop/jsonschema fork 2023-12-02 10:46:24 +01:00
kr/logfmt add in-built logging support for a better dev experience 2020-09-26 11:00:50 +10:00
kyokomi/emoji/v2 update go to v1.18 2022-03-18 21:36:28 +11:00
lucasb-eyer/go-colorful Bump gocui 2025-10-02 17:28:13 +02:00
mailru/easyjson Add invopop/jsonschema fork 2023-12-02 10:46:24 +01:00
mattn Replace go-runewidth with uniseg 2025-12-23 16:49:16 +01:00
mgutz/str switch to Go modules 2019-09-01 21:24:03 +10:00
mitchellh/go-ps Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
petermattis/goid Bump the go-deadlock dependency to v0.3.6 2025-09-20 10:51:37 +02:00
pmezard/go-difflib add test to utils package 2018-08-19 10:37:03 +02:00
rivo/uniseg Bump gocui (and tcell) 2025-12-23 16:49:16 +01:00
sahilm/fuzzy Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
samber/lo Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
sanity-io/litter Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
sasha-s/go-deadlock Bump the go-deadlock dependency to v0.3.6 2025-09-20 10:51:37 +02:00
sirupsen/logrus Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
spf13/afero Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
spkg/bom Bring back files from vendor directory that we accidentally excluded 2025-07-06 16:13:17 +02:00
stefanhaller/git-todo-parser Bump git-todo-parser 2025-09-05 10:37:20 +02:00
stretchr/testify Bump go-git 2025-04-09 11:23:55 +02:00
wk8/go-ordered-map/v2 Add invopop/jsonschema fork 2023-12-02 10:46:24 +01:00
xo/terminfo update go to v1.18 2022-03-18 21:36:28 +11:00