🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2024-09-27 3:43:02.0 +04:00:00
committer Jordan Doyle <jordan@doyle.la> 2024-09-27 3:43:02.0 +04:00:00
commit
a524eca1d1d61b6a035e9a156c58eb643d0abb9f [patch]
tree
39d18bdfe8ac8d5fde73861c1562a16c8073a369
parent
b133174174139fd60ace00fe0d21dc03ca267b05
download
a524eca1d1d61b6a035e9a156c58eb643d0abb9f.tar.gz

Fix typo causing removed lines not to show highlighted



Diff

 src/git.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/git.rs b/src/git.rs
index 9e91187..fb72ffa 100644
--- a/src/git.rs
+++ a/src/git.rs
@@ -1259,7 +1259,7 @@
    }

    fn remove(&mut self, data: &str, dst: &mut String) {
        self.write(dst, "remote-line", data);
        self.write(dst, "remove-line", data);
    }

    fn context(&mut self, data: &str, dst: &mut String) {