diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-10-27 12:33:49 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-05 13:47:45 -0800 |
| commit | 0da3fb3ec77b7a3e5bce9eb53f23399bc624d87f (patch) | |
| tree | fbac6436c90f63a8fcbf450c29d0ee1c71fb9ff2 /commit.h | |
| parent | Merge branch 'sa/replay-atomic-ref-updates' into ps/history (diff) | |
| download | git-0da3fb3ec77b7a3e5bce9eb53f23399bc624d87f.tar.gz git-0da3fb3ec77b7a3e5bce9eb53f23399bc624d87f.zip | |
wt-status: provide function to expose status for trees
The "wt-status" subsystem is responsible for printing status information
around the current state of the working tree. This most importantly
includes information around whether the working tree or the index have
any changes.
We're about to introduce a new command where the changes in neither of
them are actually relevant to us. Instead, what we want is to format the
changes between two different trees. While it is a little bit of a
stretch to add this as functionality to _working tree_ status, it
doesn't make any sense to open-code this functionality, either.
Implement a new function `wt_status_collect_changes_trees()` that diffs
two trees and formats the status accordingly. This function is not yet
used, but will be in a subsequent commit.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
