Skip to content

Commit d14c8b3

Browse files
committed
chore: update to version 0.0.13, exclude merge commits in PR descriptions, and update README for clarity
1 parent d6ec38a commit d14c8b3

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to the "genreview" extension will be documented in this file.
44

5+
## [0.0.13] - 2025-05-16
6+
7+
### Changed
8+
9+
- Merge commit exclusion is now applied when generating PR descriptions
10+
- README updated to clarify behavior
11+
512
## [0.0.12] - 2025-05-16
613

714
### Changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ It analyzes the Git commit diffs in your PR and generates a prompt to help LLMs
1717

1818
- Generates a **structured AI prompt** from your commit diffs
1919
- Designed for AI to **suggest GitHub-compatible review comments**
20+
- **Merge commits are excluded** — only actual change commits are considered
2021
- Copies the prompt to your clipboard — just paste it into ChatGPT or any LLM tool
2122
- 🗣️ **Auto-detects display language** and switches between English and Japanese
2223

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "genreview",
33
"displayName": "Review Prompt Generator",
44
"description": "Generate AI-ready GitHub PR review prompts from git diffs.",
5-
"version": "0.0.12",
5+
"version": "0.0.13",
66
"publisher": "Sado4",
77
"engines": {
88
"vscode": "^1.84.0"

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ export async function activate(context: vscode.ExtensionContext) {
2626
// コミットログ整形
2727
let commitBlocks: string[] = [];
2828
try {
29+
// マージコミットは除外
2930
const logOutput = execSync(
30-
`git log ${parentBranch}..HEAD --pretty=format:"__COMMIT__%h|%s" -p --reverse`,
31+
`git log ${parentBranch}..HEAD --no-merges --pretty=format:"__COMMIT__%h|%s" -p --reverse`,
3132
{ cwd: rootPath }
3233
).toString();
3334

0 commit comments

Comments
 (0)