Commit 60fc176
authored
fix: three bugs introduced by merged PRs (#17)
- fix(oop): use dot syntax for super_class call in CommitLogPanel
(commit_log_panel.lua). The colon syntax constructed a spurious
instance; every other super-call in the codebase uses dot access.
- fix(actions): pass required opt table to vcs.get_adapter() in
diff_against_default_branch (actions.lua). Calling with no argument
crashed when no diffview was open.
- fix(hg): guard get_commit_url call in open_commit_in_browser
(file_history/listeners.lua). The method only exists on GitAdapter;
HgAdapter users got a nil call crash.1 parent 1eb2454 commit 60fc176
3 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
229 | 234 | | |
230 | 235 | | |
231 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
283 | 288 | | |
284 | 289 | | |
285 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments