Skip to content

Conversation

@benibenj
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 29, 2026 08:44
@benibenj benibenj self-assigned this Jan 29, 2026
@benibenj benibenj enabled auto-merge January 29, 2026 08:45
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 29, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the prompt guidelines used to generate Git commit message completions in the SCM input field.

Changes:

  • Adds a guideline emphasizing that commit messages should accurately describe the change succinctly.
  • Removes the guideline about adding a detailed second line.
  • Rewords the “unclear/ambiguous changes” instruction.
Comments suppressed due to low confidence (1)

src/extension/git/vscode/scmContextprovider.ts:119

  • This guideline uses different terminology ("do not complete the commit message") than the rest of the list (e.g., "provide a completion"). For consistency and to avoid confusing the model about the desired behavior, consider keeping the same term ("do not provide a completion").
			'If the changes are unclear or ambiguous, do not complete the commit message.'

// Build commit message guidelines based on configuration
const guidelines: string[] = [
'This is a git commit message input field.',
'The commit message should accurately describe the changes being committed in less than a sentence.',
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guideline "in less than a sentence" is unclear/awkward phrasing and may be interpreted inconsistently (e.g., fragment vs. short sentence). Consider rewording to something unambiguous like "in a single short sentence" (or "as a short phrase" if fragments are intended).

Suggested change
'The commit message should accurately describe the changes being committed in less than a sentence.',
'The commit message should accurately describe the changes being committed in a single short sentence.',

Copilot uses AI. Check for mistakes.
@benibenj benibenj added this pull request to the merge queue Jan 29, 2026
Merged via the queue into main with commit 80e673b Jan 29, 2026
25 checks passed
@benibenj benibenj deleted the benibenj/high-bovid branch January 29, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants