dandavison / dandavison/delta

🚀 Colorize commit metadata

Open
#2,149 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
32.2k
Forks
572
Avg merge
11m
Merged PRs (30d)
1

Description

bat colorizes commit metadata, which delta doesn't do (aside from the commit hash). See below for a bat example.

---

> If I do `git log | bat`, I get nice colours, notably 'commit', 'Author', and 'Date' are in red, hash is purple, comment in orange. eg:

![screenshot](https://user-images.githubusercontent.com/975698/193013400-a67db353-8fbf-4d1d-bd2b-3db609440c30.png)

_Originally posted in https://github.com/sharkdp/bat/discussions/2329_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported `git log | bat` example and compare it with delta output, focusing on the `commit`, `Author`, `Date`, hash, and comment metadata. Trace the delta entry point that handles git log output; done means these metadata parts receive distinct colors comparable to the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.