Commit Graph
774 Commits
Author SHA1 Message Date
Scott Baker e90c8e5b29 Allow calling DH directly as a script as well as a loadable module 2026-03-18 09:20:45 -07:00
Scott Baker ac156a340e Change theme variables to our to allow setting them from the outside
If theme variables aren't set from outside the module we fall back to
loading them from the ~/.gitconfig
2026-03-18 09:13:46 -07:00
Scott Baker 91e1feff58 Drop requirements to Perl v5.8 because we're not using any fancy features 2026-03-18 08:56:54 -07:00
Scott Baker b1f825a0ed Start with the vanilla DiffHighlight.pm from 2026-03-18 2026-03-18 08:55:37 -07:00
Scott Baker 32721ae56f Pass in reset to the DiffHighlight theme
Previously we were relying on the DH default which we don't want
2026-03-17 16:43:17 -07:00
Scott Baker eee0b9eee6 Add bug numbers to some unit tests for easier --filter 2026-03-17 15:41:09 -07:00
Scott Baker 03f366ac5e BUGFIX: Corner case where removing a \n from the end of a file adds extra newlines
https://github.com/so-fancy/diff-so-fancy/issues/474
2026-03-17 15:33:43 -07:00
Scott Baker 04fab29556 Add a test for #474 2026-03-17 15:32:35 -07:00
Scott Baker e928a0604b Update package.json for NPM 2026-03-16 15:53:58 -07:00
Scott Baker 2515d0d9e7 Be more confident 2026-03-16 13:43:22 -07:00
Scott Baker b203a78b6c README updates 2026-03-16 13:37:46 -07:00
Scott Baker 07755f40fa Bump to odd/devel version 2026-03-16 11:39:32 -07:00
Scott Baker b633fd8384 Bump to release version v1.4.6 2026-03-16 11:01:33 -07:00
Scott Baker 7a37d1aef2 Load Dump::Krumo if you're me
This is only needed during devel so we don't load it every time
2026-03-16 10:46:03 -07:00
Scott Baker 49dd58bfe7 Dump::Krumo is giving terminal sizing fetch errors with TermReadkey??? 2026-03-14 11:17:51 -07:00
Scott Baker b830e07982 Revert "Use Term::ReadKey() instead of tput to get terminal width"
This reverts commit fec74c9076.
2026-03-14 11:15:35 -07:00
Scott Baker 2657250d2a Add comments for functions 2026-03-14 11:02:13 -07:00
Scott Baker 78b2066b82 Add milliseconds to the debug output 2026-03-14 11:01:55 -07:00
Scott Baker fec74c9076 Use Term::ReadKey() instead of tput to get terminal width
This should be faster (less shelling out)
2026-03-14 10:50:54 -07:00
Scott Baker 1ccd65ade4 Move a function into the functions section (not at the top) 2026-03-14 10:36:17 -07:00
Scott Baker 1791c2930e Remove an unused variable 2026-03-14 10:32:15 -07:00
Joe Block e25716f0ca Update awesomebot and add dependabot (#509)
Here's my awesomebot configuration from the awesome-zsh-plugins repo. I
left in a commented out command that has all my whitelisted sites as an
example. I don't think you need them all, so as is, this just whitelists
some of the badge sites.

I also added a dependabot configuration so that it will help keep your
repo up to date.

Signed-off-by: Joe Block <[email protected]>
2026-03-14 10:31:56 -07:00
Scott Baker 9b468b5651 Remove first run stuff, it was not well received 2026-03-14 10:31:36 -07:00
Scott Baker c6b66b1ed0 Comment for future Scott 2026-03-14 10:25:10 -07:00
Scott Baker 3f2de84a5d Merge branch 'next' into patch_mode_fix 2026-03-14 00:06:53 -07:00
Scott Baker edd15da215 Modernize some unit tests now that d-s-f is smarter about recursive mode 2026-03-14 00:05:49 -07:00
Scott Baker 9e1b347ac7 Add support for diff recursive mode #394 2026-03-14 00:03:14 -07:00
Scott Baker 3038b28aa1 Update our debug printer. AUTOLOAD was causing issues 2026-03-13 23:53:28 -07:00
Scott Baker 2ca0471986 Add a new unit test for #394 2026-03-13 23:51:34 -07:00
Scott Baker f4e7ec687b Capture git file copies 2026-03-13 23:18:25 -07:00
Scott Baker 63d1c447c2 Add a new test for bug #349 2026-03-13 23:17:56 -07:00
Scott Baker 9c2ce2aa1b Be more generous one what we match for a ^diff line.
This might be the fix we need for #394
2026-03-13 22:53:08 -07:00
Scott Baker e49f366759 Update bats submodule to v1.13.0 2026-03-13 21:27:19 -07:00
Scott Baker 0e36b1797d If we're not in --patch mode then don't bother calculating lines 2026-03-13 21:19:44 -07:00
Scott Baker 9ab1e04113 Trim down the scope of $context_lines (no need to be global) 2026-03-13 21:19:44 -07:00
Scott Baker 6764091cf5 Update the unit tests for additional header whitespace 2026-03-13 21:19:44 -07:00
Scott Baker f54f90e2f3 Improve our debug logging 2026-03-13 21:19:44 -07:00
Scott Baker 0ac098796f Use the new chunk based method to process lines 2026-03-13 21:19:44 -07:00
Cougar dfec899fd3 Make first 16 color bars narrower to avoid wrapping (#502) 2026-03-12 10:51:36 -07:00
Scott Baker 3132702b6b Upstream DiffHighlight.pm fixes
We have a customer diffhighlight, so we cherry pick some of the simple
pieces for our use case
2026-03-12 10:50:27 -07:00
Scott Baker 6f25c6a20f Fixes #500 2026-03-12 10:18:27 -07:00
Scott Baker bb015e0715 One too many [ 2025-07-15 11:09:47 -07:00
Scott Baker dfbde72cfd Use a hat to match the org 2025-07-15 11:09:03 -07:00
Scott Baker 20afccc97d We're not using TravisCI anymore 2025-07-15 11:08:31 -07:00
Scott Baker 78de3c40ba Simplify README 2025-07-15 11:06:18 -07:00
Scott Baker 4f8c953561 NIX no longer packages DSF 2025-07-15 11:01:21 -07:00
Scott Baker 1e4df2921c Prettify the README with some emojis 2025-07-15 10:58:48 -07:00
Linus Eriksson 31895dc09a Remove duplicate line in README (#505) 2025-05-06 11:47:34 -07:00
Scott Baker 694f4e40a5 Make executable 2025-02-04 21:56:11 -08:00
Scott Baker 36dcfde9dd Add some tests for #469 2024-09-18 13:56:15 -07:00