git-dump-diff
Git diff tool that shows a tree of changed files followed by their full content.
git-dump-diff is a verbose Git diagnostic tool. It shows a directory tree of changed files and the full content of added or updated files.
Unlike a standard diff that shows only line changes, this tool lets you see the entire file context. It is ideal for code reviews and auditing feature branches.
Features
Visual Tree: Shows affected files in a clear directory structure.
Full Content: Displays the complete final state of new or modified files.
Binary Safe: Detects and skips binary files to keep your terminal clean.
Pager Support: Works with less automatically for easy scrolling.
No Dependencies: Uses only standard Python libraries.
Prerequisites
Python 3.10+
Installation
uv tool (recommended)
uv tool install git-dump-diff
pipx
pipx install git-dump-diff
Usage
Once installed, use the standard Git range syntax (base..target).
Compare branches
git dump-diff main..feature-branch
Compare commits
git dump-diff HEAD~3..HEAD
Options
--version: Show current version.
--help: Show help message.
How it works
Git recognizes any executable in your PATH starting with git- as a subcommand. This package installs a git-dump-diff entry point, making it available as git dump-diff.
Tests
Run the tests with pytest:
pytest
Writing documentation
Keep the following hierarchy.
=====
title
=====
header
======
sub-header
----------
sub-sub-header
~~~~~~~~~~~~~~
sub-sub-sub-header
^^^^^^^^^^^^^^^^^^
sub-sub-sub-sub-header
++++++++++++++++++++++
sub-sub-sub-sub-sub-header
**************************
License
MIT
Support
For issues, visit GitHub.
Metadata
Release files for git-dump-diff 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| git_dump_diff-0.1.1.tar.gz | 9.2 kB | Without provenance | Details for git_dump_diff-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| git_dump_diff-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for git_dump_diff-0.1.1-py3-none-any.whl |
Total release size: 15.3 kB
Release files / git_dump_diff-0.1.1.tar.gz
| Download URL | git_dump_diff-0.1.1.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0accff11dda3968ab56ff60bd28ade7350628a49176d8164cbe2a97023d29d64
|
|
BLAKE2b-256 checksum How to use checksums |
5e21ef1de6c5c1a9c1c1f944f750734eac091afae6f439dabcc98ac687ef4cff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / git_dump_diff-0.1.1-py3-none-any.whl
| Download URL | git_dump_diff-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6f845f5ca61dd3bb9fbdfbfa0d4665a7bd6d624aee2a2b9cd939489f27e74df
|
|
BLAKE2b-256 checksum How to use checksums |
c54c881d949055ce38629aedd9e375fa9a7459b64e182362e4ec8f027ebdbe4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for git-dump-diff 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.