Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-25 | Fix filenames with spaces (#643)0.8.1 | Dan Davison | |
* Fix parsing of file path from diff line Fixes #625 * Parse diff line only if needed * Add test of diff of filenames with spaces * Strip trailing tab inserted by git when file path contains space git appears to add a trailing tab character when the file name contains a space: $ git diff --no-index b.file 01g\ -\ Text | cat -A diff·--git·a/b.file·b/01g·-·Text␊ index·e69de29..d00491f·100644␊ ---·a/b.file␊ +++·b/01g·-·Text├──┤␊ @@·-0,0·+1·@@␊ +1␊ | |||
2021-05-20 | Emit 'mode [-+]x' instead of full file permission bits (#607) | Dan Davison | |
Ref #583 | |||
2021-05-20 | Emit description of file mode change (#605) | Dan Davison | |
Fixes #583 | |||
2021-05-19 | Refactor: factor out _parse_file_path function | Dan Davison | |
2021-04-24 | Add relative-paths option | Dan Davison | |
2021-04-24 | Clippy | Dan Davison | |
2021-04-24 | Add --diff-stat-align-width to control alignment of relativized paths | Dan Davison | |
2021-04-24 | Output paths relative to current working directory | Dan Davison | |
Fixes #552 | |||
2020-12-03 | Disable some clippy warnings (#422) | Dan Davison | |
2020-11-22 | Handle copied files | Dan Davison | |
Fixes #392 | |||
2020-11-22 | Refactor: parse file meta line | Dan Davison | |
In preparation for #392 | |||
2020-11-22 | Handle common case first and minor efficiency tweak | Dan Davison | |
2020-11-05 | fix some clippy warnings (#380) | Marco Ieni | |
2020-08-06 | Add test coverage for "Dockerfile" extension | Dan Davison | |
2020-07-22 | Format files and commits as OSC 8 hyperlinks | Dan Davison | |
Closes #257 | |||
2020-07-05 | Test parsing hunk lengths | Dan Davison | |
2020-07-05 | Rename function: hunk_metadata -> hunk_header | Dan Davison | |
2020-07-05 | Simplify regex | Dan Davison | |
2020-07-05 | Clean up | Dan Davison | |
2020-07-05 | Refactor: parse unified diff hunk header | Dan Davison | |
2020-07-05 | Simplify regex | Dan Davison | |
2020-07-05 | Refactor: reformat regex | Dan Davison | |
2020-06-25 | Fix diff prefix stripping bug | Dan Davison | |
2020-06-08 | Add --number option for showing line numbers. Also adds related options: | Catherine Noll | |
- format string for specifying minus number line - format string for specifying plus number line - minus number style - plus number style - minus format string style - plus format string style | |||
2020-06-03 | New CLI options: --file-modified-label, --file-removed-label, etc | Dan Davison | |
2020-06-02 | Fix test of diff.mnemonicPrefix prefixes | Dan Davison | |
Fixes #215 https://git-scm.com/docs/git-config#Documentation/git-config.txt-diffmnemonicPrefix | |||
2020-06-02 | Add failing test for diff.mnemonicPrefix prefixes | Dan Davison | |
https://git-scm.com/docs/git-config#Documentation/git-config.txt-diffmnemonicPrefix | |||
2020-05-03 | Add test cases for a file with no extension. | Prat T | |
Test get_file_extension_from_file_meta_line_file_path | |||
2020-05-03 | Use file meta lines as the source of the file extension. | Prat T | |
* Fix panicking when diffing filenames with space enclosed dashes (#139). * Handle the diff.noprefix flag. | |||
2020-04-26 | Fix parsing file paths containing spaces | Dan Davison | |
Fixes #127 | |||
2020-04-26 | Fix parsing file-path-containing-spaces from file meta line | Dan Davison | |
2020-04-26 | Fix parsing file-path-containing-spaces from "rename" line | Dan Davison | |
2020-04-26 | Add failing test of paths containing spaces #127 | Dan Davison | |
2020-04-16 | Only strip expected git-added "a/" and "b/" prefixes. (#124) | Dan Davison | |
Fixes #120 | |||
2019-11-22 | * Trim out the date from diff -u file name | Marcelo Lima | |
* Change diff -u function name and add doc * Handle file uniqueness after a hunk change | |||
2019-11-20 | * Parse diff -u between directories | Marcelo Lima | |
* Detect the input and passthrough if not a diff * Show better header for diff -u between files | |||
2019-11-17 | Allow ignoring `git diff` virtual path | Marcelo Lima | |
2019-08-08 | Clippy | Dan Davison | |
2019-07-25 | Use original strings without copying when adding ansi color codes | Dan Davison | |
2019-07-21 | Use `skip` instead of `next` | Dan Davison | |
2019-07-21 | For a rename, use the new extension to infer language | Dan Davison | |
2019-07-17 | Handle file rename | Dan Davison | |
2019-07-15 | Parse file metadata section correctly | Dan Davison | |
2019-07-13 | Refactor: split file | Dan Davison | |
2019-07-13 | Refactor: state machine loop | Dan Davison | |
2019-07-13 | Change name of state in state machine | Dan Davison | |
2019-07-13 | Refactor: draw module | Dan Davison | |
2019-07-13 | Change name of state in state machine | Dan Davison | |
2019-07-13 | Rearrange | Dan Davison | |
2019-07-13 | Style section arguments | Dan Davison | |