An interactive curses tool for viewing git diffs that span multiple files.
Project description
git-idiff
An interactive curses tool for viewing git diffs that span multiple files.
Usage
Run git-idiff in a git directory to get an interactive view of the current git diff.
Using Diff Arguments
git-idiff takes any arguments recognized by the git diff command and will use them when displaying output.
Using:
git-idiff HEAD~2 -R -U5
will display the same output that git diff displays, but in an interactive view.
Keys
| Key | Description |
|---|---|
| Arrow keys | Scroll diff contents |
| Page up/down | Scroll diff contents one page up/down |
| Home/end | Scroll to start/end of diff contents |
n |
Select next file |
p |
Select previous file |
f |
Toggle filelist pane |
? |
Show help menu |
q |
Quit |
git-idiff also supports mouse control.
| Mouse Action | Description |
|---|---|
| Scroll (on diff pane) | Scroll diff contents |
Actions when the mouse is in the filelist pane:
| Mouse Action | Description |
|---|---|
| Click | Select file clicked |
| Scroll | Select previous/next file |
| Drag (on filelist pane border) | Resize filelist pane |
Filelist Pane
The filelist pane shows all files in the git diff.
Each entry begins with the file's status, number of insertions, and number of deletions, followed by the filename.
If a filename is too long, it will be truncated to fit the pane and prefixed with ##.
The filelist pane can be resized by dragging the filelist pane border with the mouse.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file git-idiff-0.0.1.tar.gz.
File metadata
- Download URL: git-idiff-0.0.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a75ec874ccf81dec2f1dbe0aeeea0679b1152933a2decd060e1e18edb9f7c0b
|
|
| MD5 |
b61a89f519191c2f0ee90ee84521fa40
|
|
| BLAKE2b-256 |
efb8c6dc6a2aa372e6e8cba4be7de9ba76dfe06dbf8ae07e058a891f72f76d02
|
File details
Details for the file git_idiff-0.0.1-py3-none-any.whl.
File metadata
- Download URL: git_idiff-0.0.1-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fe2b8f9572c28c486b93dbc4e2da1751ccf0a47584f9b0bcb08b6bcb9ba1ad2
|
|
| MD5 |
45b4cb28fa367dda5d1ce0d11fe293de
|
|
| BLAKE2b-256 |
3969ed70ae6c23dd88fa441662cb74f2efa0992403b9f30d4a6568e7140d5746
|