paulfitz / daff

align and compare tables
https://paulfitz.github.io/daff
MIT License
789 stars 67 forks source link

allow inserted cells from a new column to be controlled separately #119

Closed paulfitz closed 6 years ago

paulfitz commented 6 years ago

Currently it is possible to independently specify whether to include inserted, deleted, or updated rows in a diff with the --act flag. But if a column is inserted, there's no way to control whether the cells added to each row are included in the diff or not. Currently, they are somewhat randomly included in the update category. This diff breaks them out as independently controllable.

So to include all changes but the cells of inserted columns, it would suffice to do:

daff --act update --act insert --act delete v1.csv v2.csv

See #118.