diff options
Diffstat (limited to 'src/delta.rs')
-rw-r--r-- | src/delta.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/delta.rs b/src/delta.rs index bfb7761f..fa983a69 100644 --- a/src/delta.rs +++ b/src/delta.rs @@ -23,6 +23,7 @@ pub enum State { SubmoduleLog, // In a submodule section, with gitconfig diff.submodule = log SubmoduleShort(String), // In a submodule section, with gitconfig diff.submodule = short Blame(String, Option<String>), // In a line of `git blame` output (commit, repeat_blame_line). + GitShowFile, // In a line of `git show $revision:./path/to/file.ext` output Grep, // In a line of `git grep` output Unknown, // The following elements are created when a line is wrapped to display it: @@ -121,6 +122,7 @@ impl<'a> StateMachine<'a> { || self.handle_submodule_log_line()? || self.handle_submodule_short_line()? || self.handle_hunk_line()? + || self.handle_git_show_file_line()? || self.handle_blame_line()? || self.handle_grep_line()? || self.should_skip_line() |