Skip to content

Commit

Permalink
fixed typos (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzrehde committed Nov 18, 2023
1 parent 7375f7a commit dc692ea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion etc/examples/189-merge-conflict.4.diff
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index 888eee8b,7ea2e9d3..00000000
+++ b/src/handlers/merge_conflict.rs
@@@ -5,7 -5,7 +5,11 @@@ use crate::utils::process
impl<'a> StateMachine<'a> {
pub fn handle_merge_confict_line(&mut self) -> std::io::Result<bool> {
pub fn handle_merge_conflict_line(&mut self) -> std::io::Result<bool> {
self.painter.emit()?;
++<<<<<<< HEAD
+ // hello
Expand Down
2 changes: 1 addition & 1 deletion etc/examples/189-merge-conflict.5.diff
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index 888eee8b,7ea2e9d3..00000000
+++ b/src/handlers/merge_conflict.rs
@@@ -5,7 -5,7 +5,12 @@@ use crate::utils::process
impl<'a> StateMachine<'a> {
pub fn handle_merge_confict_line(&mut self) -> std::io::Result<bool> {
pub fn handle_merge_conflict_line(&mut self) -> std::io::Result<bool> {
self.painter.emit()?;
++<<<<<<< HEAD
+ // hello
Expand Down
2 changes: 1 addition & 1 deletion manual/src/full---help-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Options:
--grep-header-decoration-style <STYLE>
Style string for the header decoration in grep output.
Default is "none" when grep-ouput-type-is "ripgrep", otherwise defaults to value of header-decoration-style. See hunk-header-decoration-style.
Default is "none" when grep-output-type-is "ripgrep", otherwise defaults to value of header-decoration-style. See hunk-header-decoration-style.
--grep-header-file-style <STYLE>
Style string for the file path part of the header in grep output.
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ pub struct Opt {
#[arg(long = "grep-header-decoration-style", value_name = "STYLE")]
/// Style string for the header decoration in grep output.
///
/// Default is "none" when grep-ouput-type-is "ripgrep", otherwise defaults
/// Default is "none" when grep-output-type-is "ripgrep", otherwise defaults
/// to value of header-decoration-style. See hunk-header-decoration-style.
pub grep_header_decoration_style: Option<String>,

Expand Down

0 comments on commit dc692ea

Please sign in to comment.