Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic at src/git.rs:64:60 for file names with invalid chars #949

Open
SaschaWessel opened this issue Nov 8, 2023 · 0 comments
Open

Panic at src/git.rs:64:60 for file names with invalid chars #949

SaschaWessel opened this issue Nov 8, 2023 · 0 comments

Comments

@SaschaWessel
Copy link

  • os: Linux
  • lsd --version: lsd 1.0.0
  • echo $TERM: tmux-256color
  • echo $LS_COLORS:
  • commit: 6f8e095

Expected behavior

Don't panic.

Actual behavior

$ mkdir test
$ cd test
$ git init
$ touch $'\xee'
$ lsd
 �
$ lsd -lg
thread 'main' panicked at src/git.rs:64:60:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant