Skip to content

--multi-line-context-lines does not work #475

@zhangluva

Description

@zhangluva

When doing a between diff, the config value --multi-line-context-lines is not honored.
The output only has the changes but no context.

MacBook-Pro:dyff me$ dyff between -o human --multi-line-context-lines=4 deployment.yaml deployment2.yaml
     _        __  __
   _| |_   _ / _|/ _|  between deployment.yaml
 / _' | | | | |_| |_       and deployment2.yaml
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned one difference
        |___/

spec.template.spec.containers.myapp.livenessProbe.failureThreshold
  ± value change
    - 3
    + 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions