File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 11use anyhow:: Context as _;
22use gix:: bstr:: BStr ;
33use helix_core:: hashmap;
4- use std:: { collections :: HashMap , path:: Path } ;
4+ use std:: path:: Path ;
55
66use super :: { get_repo_dir, open_repo} ;
77
@@ -77,16 +77,7 @@ impl BlameInformation {
7777 ) ;
7878
7979 match variable_value {
80- Variable :: Valid ( value) => {
81- if exclude_content_after_variable {
82- // don't push anything.
83- exclude_content_after_variable = false ;
84- } else {
85- formatted. push_str ( & content_before_variable) ;
86- }
87- formatted. push_str ( & value) ;
88- }
89- Variable :: Invalid ( value) => {
80+ Variable :: Valid ( value) | Variable :: Invalid ( value) => {
9081 if exclude_content_after_variable {
9182 // don't push anything.
9283 exclude_content_after_variable = false ;
You can’t perform that action at this time.
0 commit comments