Skip to content

Don't use Tempfiles for diffing #28

Description

@marcoroth

Difftastic Supports diffing using Strings as arguments, instead of passing a path to the file.

bash-3.2$ difft <(echo "\"123\"") <(echo "\"456\"")
/dev/fd/63 --- Text
1 "123"                       1 "456"

It would be great if we wouldn't have to create Tempfiles for diffing.

We might need a --ext-type=ruby or similar for the difft executable to be able to get the diff passed through the Ruby Tree Sitter parser.

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