# dgutov/diff-hl

Emacs package for highlighting uncommitted changes

Repository: https://github.com/dgutov/diff-hl
Canonical: https://ross.abutalabs.com/products/diff-hl
Language: Emacs Lisp
License: GPL-3.0
License Family: copyleft
Topics: emacs, version-control, gutter, git, git-gutter, mercurial, vcs
Last push: 2026-08-30T14:00:11+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 100, release rhythm 35, longevity 100
- inputs: {"age_days": 5182, "days_push": 3, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1111, forks 70 (observed 2026-09-01T02:14:00.890142+00:00)

## What it is
An Emacs minor mode that highlights uncommitted changes in the window fringe or margin, with commands to jump between and selectively revert hunks. It supports Git, Mercurial, Bazaar, and SVN via VC, and includes auxiliary modes for Dired, on-the-fly updates, and staging/unstaging in Git buffers.

## Use cases
- show git gutter indicators in emacs
- highlight uncommitted changes in the editor fringe
- jump between and revert individual diff hunks
- stage and unstage changes from a buffer
- show version control markers in dired
- highlight changes on the fly while editing

## When to choose
- you use Emacs and want source control gutter indicators
- you need support for multiple VCS backends beyond just Git
- you want to revert or stage hunks directly from the buffer

## When to avoid
- you use a different editor like Vim or VS Code with built-in gutter support
- you need a standalone diff tool outside Emacs
- fringe conflicts with Flycheck-style indicators are unacceptable in your setup

## Facets
- artifact type: plugin
- maturity: stable
- function: version-control, developer-tools
- domain: version-control, developer-tools, text-editors
- platform: editor-plugin, cross-platform
- tags: emacs, git-gutter, vc, diff, minor-mode, fringe-indicators

## Member repositories
- dgutov/diff-hl (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:00.890142+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:42:42.991765+00:00, confidence not recorded.
  - readme: https://github.com/dgutov/diff-hl (fetched 2026-09-01T02:14:00.890142+00:00, sha 69818dc398f1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
