fix debug print when adding afile to ignore

This commit is contained in:
Stephan Dilly 2021-04-23 18:10:06 +02:00
parent 98b50580e0
commit f081cbeb17
2 changed files with 1 additions and 2 deletions

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- blame a file [[@cruessler](https://github.com/cruessler)] ([#484](https://github.com/extrawurst/gitui/issues/484))
### Fixed
- debug print when adding a file to ignore
- fetch crashed when no upstream of branch is set ([#637](https://github.com/extrawurst/gitui/issues/637))
- `enter` key panics in empty remote branch list ([#643](https://github.com/extrawurst/gitui/issues/643))

View File

@ -46,8 +46,6 @@ fn file_ends_with_newline(file: &Path) -> Result<bool> {
let mut last_char = String::with_capacity(1);
file.read_to_string(&mut last_char)?;
dbg!(&last_char);
Ok(last_char == "\n")
}