Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit d3c06a7

Browse files
committed
Add section on color output support in README
1 parent 96add3f commit d3c06a7

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,18 @@ jobs:
328328
- run: git pkgs diff --from=origin/${{ github.base_ref }} --to=HEAD
329329
```
330330
331+
## Colors
332+
333+
Output is colored when writing to a terminal. Colors are automatically disabled when piping to another command or redirecting to a file.
334+
335+
To disable colors explicitly:
336+
337+
```bash
338+
NO_COLOR=1 git pkgs diff --from=HEAD~10
339+
```
340+
341+
Or set `NO_COLOR` in your shell profile to disable colors permanently. See [no-color.org](https://no-color.org/) for details.
342+
331343
## Performance
332344

333345
Benchmarked on a MacBook Pro analyzing [octobox](https://github.com/octobox/octobox) (5191 commits, 8 years of history): init takes about 18 seconds at roughly 300 commits/sec, producing an 8.3 MB database. About half the commits (2531) had dependency changes.

0 commit comments

Comments
 (0)