Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit e3128d7

Browse files
committed
update readme
1 parent 8135636 commit e3128d7

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "repodiff"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2024"
5-
authors = ["RepoDiff Team"]
5+
authors = ["christso"]
66
description = "A tool for generating optimized git diffs for LLM analysis"
77

88
[dependencies]

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,14 @@ RepoDiff uses a `config.json` file in the project root directory. Example config
7171
"tiktoken_model": "gpt-4o",
7272
"filters": [
7373
{
74-
"file_pattern": "*.cs",
75-
"context_lines": 999
74+
"file_pattern": "*Test*.cs",
75+
"context_lines": 1
7676
},
7777
{
78-
"file_pattern": "*Test*.cs",
79-
"context_lines": 200
78+
"file_pattern": "*.cs",
79+
"context_lines": 10,
80+
"include_method_body": true,
81+
"include_signatures": true
8082
},
8183
{
8284
"file_pattern": "*.xml",
@@ -96,6 +98,8 @@ Configuration options:
9698
* `filters`: An array of filter rules that determine how different files are processed.
9799
* `file_pattern`: Glob pattern to match files (e.g., "*.cs", "*Test*.cs").
98100
* `context_lines`: Number of context lines to show around changes (default: 3).
101+
* `include_method_body`: When true, includes the entire method body in the diff output when a change is detected within a method. This helps provide complete context for method-level changes.
102+
* `include_signatures`: When true, includes method signatures and class declarations in the diff output even if they haven't changed. This helps maintain readability by showing the structural context of the changes.
99103

100104
Filter rules are applied in order, with the first matching pattern being used.
101105

0 commit comments

Comments
 (0)