Skip to content

Releases: fabiomolinar/git2prompt

Fixed bugs

19 Sep 16:16

Choose a tag to compare

Fixed bug #4.

v0.3.0

19 Sep 11:49

Choose a tag to compare

Added new capability to process local directories instead of having to download it from GitHub in case they are available in the local machine.

v0.2.0 — Folder & PR Mode Support

08 Sep 15:08

Choose a tag to compare

New Features

Selective folder processing

Added --folder <path> flag to process only a specific subfolder of a repository instead of the entire repo.

Example: git2prompt --folder src rust-lang/rust-by-example

Pull Request mode

Added --pr <number> flag to process only the files impacted by a GitHub pull request. The tool now fetches the PR diff from the GitHub API, reconstructs a temporary file tree containing just the changed files, and processes them as usual.

Example: git2prompt --pr 123 rust-lang/rust

Improvements

Flag interlock: --folder and --pr are now mutually exclusive. Using both at the same time will result in a clear error message.

The pipeline reuses existing file-processing logic (process_repository_files), ensuring consistent output formatting across full repo, folder, and PR modes.

📦 Version bump

Crate version increased from 0.1.0 → 0.2.0 to reflect new backward-compatible features.

First release

27 Aug 20:39

Choose a tag to compare