Commit graph

5 commits

Author SHA1 Message Date
Ondřej Kvapil
f3a30376bb difftastic: allow repeating options
Some checks failed
/ triage (push) Has been cancelled
GitHub Pages / publish (ubuntu-latest) (push) Has been cancelled
The type was overly restrictive, see
https://github.com/nix-community/home-manager/pull/7947/changes#r2858054388
2026-02-27 19:59:12 +01:00
Anton Tetov
ce9b6e5250 difftastic: fix example: s/sort-path/sort-paths/
Fixed the example, I realized it was wrong since I copied it and got an error:

```
$ difft --sort-path
error: unexpected argument '--sort-path' found

  tip: a similar argument exists: '--sort-paths'
```

The option is documented in `difft --help` and implemented in `difftastic/src/options.rs`.

7d8175dccf/src/options.rs (L375)

It's used correctly in the jujutsu submodule at the end of this file.
2026-02-25 23:55:33 +01:00
ners
02d763228d difftastic: add jujutsu integration 2026-01-28 18:46:11 +01:00
Austin Horstman
92394f9dea difftastic: migrate to lib.cli.toCommandLineShellGNU
Migrates from the deprecated toCommandLineShell to toCommandLineShellGNU.

This changes the output format to use GNU-style concatenated options
(--color=always) with shell escaping for git config values. Both formats
were verified to work correctly with difftastic.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-01-08 11:44:04 -05:00
Austin Horstman
111329b475 difftastic: new module
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00