Skip to content

Commit 646f146

Browse files
committed
feat: diff tree to index
This is the primitive needed to complete `gix-status`.
1 parent 4989cda commit 646f146

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

gix-status/src/lib.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
//! of the repository state, like comparisons between…
33
//!
44
//! * index and working tree
5-
//! * index and tree
6-
//! * find untracked files
5+
//! * tree and index
76
//!
8-
//! While also being able to check check if the working tree is dirty, quickly.
7+
//! While also being able to check if the working tree is dirty, quickly.
8+
//!
9+
//! ### Difference to `gix-diff`
10+
//!
11+
//! Technically, `status` is just another form of diff between different kind of sides, i.e. an index and a working tree.
12+
//! This is the difference to `gix-diff`, which compares only similar items.
913
//!
1014
//! ### Feature Flags
1115
#![cfg_attr(

0 commit comments

Comments
 (0)