Skip to content

Commit 260f736

Browse files
Release v0.9.1 (#166)
## v0.9.1 - 2026-03-04 ### Command: `edit` #### Fixed ##### Fix `edit --add` dropping existing git exclude entries When adding files to an applied overlay, the git exclude section was rewritten with only the newly added files, silently removing entries for previously managed files. This caused those files to reappear in `git status` after the add operation. Rebuilt the full exclude list from overlay state, matching the pattern already used by `edit --remove`. #### Changed ##### Clarify that overlay NAME must precede --add/--remove flags The --add and --remove flags accept multiple values and greedily consume trailing arguments. Running `edit --add file.txt name` fails because `name` is parsed as a second file. Updated help text to document the required argument order.
1 parent 60d4932 commit 260f736

File tree

6 files changed

+52
-34
lines changed

6 files changed

+52
-34
lines changed

.changes/unreleased/Changed-20260304-014716.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.changes/unreleased/Fixed-20260304-012220.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changes/v0.9.1.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## v0.9.1 - 2026-03-04
2+
3+
4+
### Command: `edit`
5+
6+
7+
#### Fixed
8+
9+
##### Fix `edit --add` dropping existing git exclude entries
10+
11+
When adding files to an applied overlay, the git exclude section was rewritten with only the newly added files, silently removing entries for previously managed files. This caused those files to reappear in `git status` after the add operation. Rebuilt the full exclude list from overlay state, matching the pattern already used by `edit --remove`.
12+
13+
14+
#### Changed
15+
16+
##### Clarify that overlay NAME must precede --add/--remove flags
17+
18+
The --add and --remove flags accept multiple values and greedily consume trailing arguments. Running `edit --add file.txt name` fails because `name` is parsed as a second file. Updated help text to document the required argument order.
19+

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.9.1 - 2026-03-04
9+
10+
11+
### Command: `edit`
12+
13+
14+
#### Fixed
15+
16+
##### Fix `edit --add` dropping existing git exclude entries
17+
18+
When adding files to an applied overlay, the git exclude section was rewritten with only the newly added files, silently removing entries for previously managed files. This caused those files to reappear in `git status` after the add operation. Rebuilt the full exclude list from overlay state, matching the pattern already used by `edit --remove`.
19+
20+
21+
#### Changed
22+
23+
##### Clarify that overlay NAME must precede --add/--remove flags
24+
25+
The --add and --remove flags accept multiple values and greedily consume trailing arguments. Running `edit --add file.txt name` fails because `name` is parsed as a second file. Updated help text to document the required argument order.
26+
27+
828
## v0.9.0 - 2026-03-02
929

1030

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "repoverlay"
3-
version = "0.9.0"
3+
version = "0.9.1"
44
edition = "2024"
55
rust-version = "1.90"
66
authors = ["Tyler Butler <tyler@tylerbutler.com>"]

0 commit comments

Comments
 (0)