mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-26 03:00:03 +03:00
fix debug print when adding afile to ignore
This commit is contained in:
parent
98b50580e0
commit
f081cbeb17
@ -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))
|
||||
|
||||
|
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user