A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/extrawurst/gitui/issues/2130 below:

Index out of bounds error in `src/popups/blame_file.rs, line: 622, col: 38` · Issue #2130 · gitui-org/gitui · GitHub

Describe the bug
An index out of bounds error occurs when navigating specific file and then blaming it by pressing shift + B.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Clone https://codeberg.org/BrunoWallner/apoxel
  2. Go to commit ID: 312629cb98556f883533fe65faea2387eff2e8ff (git checkout 312629cb98556f883533fe65faea2387eff2e8ff)
  3. Run gitui inside the cloned repo
  4. Press tab to go to "Files" header and navigate to apoxel/path/shader/stage_1/chunks.wgsl
  5. press shift + B keys

Expected behavior
The Blame page should appear but instead the application crashes.

Error output

PanicInfo { payload: Any { .. }, message: Some(index out of bounds: the len is 339 but the index is 339), location: Location { file: "src/popups/blame_file.rs", line: 622, col: 38 }, can_unwind: true, force_no_backtrace: false }
trace:

Context


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4