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 1
1
use anyhow:: Context as _;
2
2
use gix:: bstr:: BStr ;
3
3
use helix_core:: hashmap;
4
- use std:: { collections :: HashMap , path:: Path } ;
4
+ use std:: path:: Path ;
5
5
6
6
use super :: { get_repo_dir, open_repo} ;
7
7
@@ -77,16 +77,7 @@ impl BlameInformation {
77
77
) ;
78
78
79
79
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) => {
90
81
if exclude_content_after_variable {
91
82
// don't push anything.
92
83
exclude_content_after_variable = false ;
You can’t perform that action at this time.
0 commit comments