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

Commit 9bc1939

Browse files
committed
rename to repodiff
1 parent 822cd9e commit 9bc1939

4 files changed

Lines changed: 15 additions & 13 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,5 @@ cython_debug/
160160
# and can be added to the global gitignore or merged into this file. For a more nuclear
161161
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162162
#.idea/
163+
repomix-output.txt
164+
.vscode/

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
# GitDiff4LLM
2+
# RepoDiff
33

4-
**GitDiff4LLM** is a tool designed to simplify code reviews by generating comprehensive git diffs between two commits or branches. It allows you to configure diff options based on file paths, optimizing the output for consumption by large language models (LLMs).
4+
**RepoDiff** is a tool designed to simplify code reviews by generating comprehensive git diffs between two commits or branches. It allows you to configure diff options based on file paths, optimizing the output for consumption by large language models (LLMs).
55

66
## Features
77

@@ -18,20 +18,20 @@ You can either provide commit hashes to compare directly, or use the -b option t
1818

1919
To compare the latest commit in the current branch with the latest common commit in another branch (e.g., `master`), use the `-b` option:
2020
```bash
21-
gitdiff4llm -b <branch> [-o /path/to/output_file.txt]
21+
repodiff -b <branch> [-o /path/to/output_file.txt]
2222
```
2323

2424
**Example:**
2525
Compare the latest commit in the current branch with the latest common commit in master, and write the result to a default file in the system's temporary directory
2626

2727
```bash
28-
gitdiff4llm -b master
28+
repodiff -b master
2929
```
3030

3131
### Compare Two Commits
3232

3333
```bash
34-
gitdiff4llm -c1 <commit1> -c2 <commit2> [-o /path/to/output_file.txt]
34+
repodiff -c1 <commit1> -c2 <commit2> [-o /path/to/output_file.txt]
3535
```
3636

3737
* `-c1`, `--commit1`: First commit hash.
@@ -77,17 +77,17 @@ This setup means:
7777

7878
### Option 1: Download the Executable
7979

80-
1. Go to the [Releases](https://github.com/EntityProcess/GitDiff4LLM/releases) page.
81-
2. Download the latest version of the `gitdiff4llm.exe` executable.
82-
3. Move the `gitdiff4llm.exe` file to a directory included in your system's `PATH`.
80+
1. Go to the [Releases](https://github.com/EntityProcess/RepoDiff/releases) page.
81+
2. Download the latest version of the `repodiff.exe` executable.
82+
3. Move the `repodiff.exe` file to a directory included in your system's `PATH`.
8383

8484
### Option 2: Build the Executable Yourself
8585

8686
Clone the repository and navigate to the directory:
8787

8888
```bash
89-
git clone https://github.com/EntityProcess/GitDiff4LLM.git
90-
cd GitDiff4LLM
89+
git clone https://github.com/EntityProcess/RepoDiff.git
90+
cd RepoDiff
9191
```
9292

9393
Install PyInstaller by running the following command:
@@ -98,7 +98,7 @@ pip install pyinstaller
9898

9999
Generate the executable by running `build.bat`.
100100

101-
Add `./GitDiff4LLM/dist` to your `PATH` environmental variable.
101+
Add `./RepoDiff/dist` to your `PATH` environmental variable.
102102

103103
## Contributing
104104

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pyinstaller --onefile --hidden-import=tiktoken --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext gitdiff4llm.py
1+
pyinstaller --onefile --hidden-import=tiktoken --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext repodiff.py
22
pause

gitdiff4llm.py renamed to repodiff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def main(commit1, commit2, output_file):
129129
output_file = args.output_file
130130
else:
131131
temp_dir = tempfile.gettempdir()
132-
output_file = os.path.join(temp_dir, "gitdiff4llm", "gitdiff_output.txt")
132+
output_file = os.path.join(temp_dir, "repodiff", "repodiff_output.txt")
133133
print(f"No output file specified. Using temporary directory: {output_file}")
134134

135135
# Make sure the output directory exists

0 commit comments

Comments
 (0)