diff options
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs index 3cf13194..9e09afea 100644 --- a/src/display.rs +++ b/src/display.rs @@ -90,7 +90,7 @@ impl Display { let tab = status.selected_non_mut(); let first_row: String = match tab.mode { Mode::Normal => { - let git_string = git(tab.path_content.path.clone())?; + let git_string = git(&tab.path_content.path)?; format!( "Tab: {}/{} -- Path: {} -- Files: {} -- {}", status.index + 1, |