Skip to content

Settle on a default diff command #13

Description

@jmid

While testing on my old macBook I realized its diff didn't support --color.
It would be nice:tm: to settle on a diff command usable across both Linux, macOS, and *BSD

Ideally, a diff command should

  • support colored output - for prettier, 202* output
  • support some form of --labeling - to avoid distracting users with temporary file names

In comparison, dune uses git diff over diff:
https://github.com/ocaml/dune/blob/6c573436428c2ebbb6f435b1c712777a81dc8a42/src/dune_engine/print_diff.ml#L107-L131

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions