HomeFreeBSD

Add color output to zfs diff.

Description

Add color output to zfs diff.

This adds support to color zfs diff (in the style of git diff)
conditional on the ZFS_COLOR environment variable.

Signed-off-by: Ethan Coe-Renner <coerenner1@llnl.gov>

Details

Provenance
Ethan Coe-Renner <coerenner1@llnl.gov>Authored on Dec 12 2022, 11:30 PM
Tony Hutter <hutter2@llnl.gov>Committed on Dec 15 2022, 6:14 PM
Parents
rG24502bd3a79d: FreeBSD: Remove stray debug printf
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGfb11b1570a47: Add color output to zfs diff. (authored by Ethan Coe-Renner <coerenner1@llnl.gov>).Dec 15 2022, 6:14 PM