diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-17 12:11:33 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-17 14:04:32 +0000 |
| commit | 5cc8ae28cb462d2cb0b7f74dfa5238e62d17eb70 (patch) | |
| tree | 7e1f81c8204c3f50b30fa69b410f60ffa872bec7 /CHANGELOG.md | |
| parent | 06ebbf7c73b64225ae083bb3134f7c7c630c5565 (diff) | |
feat: support multiline descriptions in push-options via \n escape
Git push-options are line-based so literal newlines cannot be sent.
Users can now write the two-character sequence \n which is decoded
into real newlines before publishing. Use \\n for a literal backslash-n.
Includes unit tests, integration test, help text, and changelog entry.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c2b07c..af4c833 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
| @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 26 | - `ngit list --status` - filter by status (open,draft,closed,applied) | 26 | - `ngit list --status` - filter by status (open,draft,closed,applied) |
| 27 | - `ngit init --hashtag` - specify repository hashtag | 27 | - `ngit init --hashtag` - specify repository hashtag |
| 28 | - Push options for PR title/description: `git push --push-option=title="..." --push-option=description="..."` | 28 | - Push options for PR title/description: `git push --push-option=title="..." --push-option=description="..."` |
| 29 | - Multiline support: use `\n` for newlines in values (e.g. `--push-option=description='line1\n\nline2'`). Use single quotes to prevent shell interpretation. Use `\\n` for a literal backslash-n. | ||
| 29 | 30 | ||
| 30 | ### Removed | 31 | ### Removed |
| 31 | 32 | ||