Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-08 | Make commit style to be colored with same structure while color_only #405 (#438) | ulwlu | |
* Remove force assing raw to commit style when color_only * Add test for commit style color when color_only | |||
2020-12-08 | Make hunk header style to be colored with same structure while color_only ↵ | ulwlu | |
#405 (#437) * Remove force passing raw to hunk header style when color_only * Handle hunk header color when color_only * Add test for hunk header style color when color_only * Delete fixme because it actually is required * Add comment for condition that keeps structure when color_only and raw mode | |||
2020-12-08 | Make file style to be colored with same structure while color_only #405 (#436) | ulwlu | |
* Add config property of color_only * Delete force assign raw to file_style when color_only * Print filemeta in color with rawline when color_only mode * Cargo fmt * Add test if file_style with color_only has style * Add comment about color_only | |||
2020-12-05 | Expose line-buffer-size as a new option (#429) | Dan Davison | |
Fixes #427 | |||
2020-11-22 | Handle copied files | Dan Davison | |
Fixes #392 | |||
2020-11-22 | Fix diff interactivefilter when decoration option is enabled (#367) | ulwlu | |
* Add test for diffInteractiveFilter for all options * Disable **-decoration-style when color-only * Edit color-only one-to-one test cases Co-authored-by: ryuta69 <eyma22s.yu@gmail.com> Co-authored-by: Dan Davison <dandavison7@gmail.com> | |||
2020-11-14 | Rename directory: src/bat -> src/bat_utils | Dan Davison | |
2020-11-07 | remove some clippy warnings (#383) | Marco Ieni | |
* remove some clippy warnings * revert comparison_chain clippy lint Allow it locally | |||
2020-11-05 | fix some clippy warnings (#380) | Marco Ieni | |
2020-09-18 | Fix `git add -p` to work when any options enabled (#323) | ryuta69 | |
* Add test for input and output for diff interactive filter * Add color_only in config struct * Refactor should_handle false when color_only and FileMeta, CommitMeta * Refactor handle_hunk_header_line to show raw_text with color_format when color_only * Fix indent * Revert the logic changes for interactive filter * Add color only workaround in set options * Add more test patterns for diff interactive fillter | |||
2020-09-03 | Hack: env var for boolean flag | Dan Davison | |
The proper way would be using env = "DELTA_NAVIGATE", but see https://github.com/clap-rs/clap/issues/1476 https://github.com/TeXitoi/structopt/issues/372 Doing it as in this commit probably has drawbacks, e.g. related to whether the argument is recorded as having been supplied. | |||
2020-08-20 | Interpret `line-numbers = false` in gitconfig as no line numbers at all (#296) | Dan Davison | |
Fixes #292 | |||
2020-08-15 | Rearrange | Dan Davison | |
2020-08-14 | Add new option to show-config and test of gitconfig | Dan Davison | |
2020-08-14 | Truncate long lines (#290) | Dan Davison | |
Fixes #154, #288 | |||
2020-08-08 | Eliminate an .unwrap() | Dan Davison | |
2020-08-08 | Disable side-by-side when color-only is in effect | Dan Davison | |
Fixes #274 | |||
2020-08-01 | Add inspect-raw-lines {true,false} option | Dan Davison | |
Fixes #72 | |||
2020-08-01 | Emit raw lines instead of explicitly handling --color-moved | Dan Davison | |
2020-08-01 | Initial implementation of color-moved support | Dan Davison | |
- Inspect the raw hunk line - If it does not appear to be a standard minus/plus line, treat it as moved - Apply special delta color-moved-* styles | |||
2020-08-01 | Match paging-mode case-insensitively | Dan Davison | |
2020-08-01 | Fix order of `use` statements | Dan Davison | |
2020-07-30 | Honor width option in git_config | ryuta69 | |
* Update width to accept gitconfig value * Feature set width from gitconfig only when cli option is not supplied * Add unittest of width in gitconfig * Delete duplicate field of width It's already roled by decorations_width. * Fix show_config of width with decorations_width * Fix test not with static number but dynamic variable * Fix the way of getting value of user configured width use gather_builtin_features_recursively in set_options is the ideal way, it can get inside custom_features and set as option. * Refactor checking if none * Fix if width is assigned variable then output variable | |||
2020-07-22 | Format files and commits as OSC 8 hyperlinks | Dan Davison | |
Closes #257 | |||
2020-07-22 | Read git config entries at start-up | Dan Davison | |
2020-07-15 | Set features early | Dan Davison | |
Fixes #252 | |||
2020-07-15 | Fix programmatic construction of option/flag names | Dan Davison | |
Fixes #253 | |||
2020-07-15 | Add test assertions for opt.computed | Dan Davison | |
2020-07-15 | Parse paging_mode option value after setting it | Dan Davison | |
2020-07-15 | Add test that all options can be set in git config | Dan Davison | |
2020-07-11 | Allow user-supplied width to exceed terminal width0.3.0 | Dan Davison | |
2020-07-11 | Add side-by-side diff view (#243) | Dan Davison | |
Closes #86 | |||
2020-07-10 | Refactor: return Vec instead of String | Dan Davison | |
2020-07-10 | Fix typo | Dan Davison | |
2020-07-10 | Allow a builtin feature to reference other builtin features | Dan Davison | |
2020-07-10 | Refactor: gather_features | Dan Davison | |
2020-06-30 | Add more computed values to options struct | Dan Davison | |
2020-06-30 | Set light/dark mode before builtin features | Dan Davison | |
2020-06-30 | Rearrange: options::theme module | Dan Davison | |
2020-06-30 | Set the light/dark/theme option values early | Dan Davison | |
2020-06-30 | Refactor: options module | Dan Davison | |