Skip to content

Revert the behavior of --diff-command wrt to non-existent files #13891

@rgrinberg

Description

@rgrinberg

Do I understand correctly and this now means that the documentation in doc/concepts/promotion.rst doesn’t apply any more:

  • If <file1> doesn't exist, it will compare with the empty file.

(I had been using that behaviour in some places to make sure some expected output is indeed empty; that’s easy to fix but the documentation should be fixed if that changed on purpose)

Originally posted by @shym in #13696 (comment)

Metadata

Metadata

Assignees

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