Skip to content

Improve error messages with more context and details - #26

Merged
Luladjiev merged 1 commit into
mainfrom
improve_error_messaging
Sep 15, 2025
Merged

Luladjiev merged 1 commit into
mainfrom
improve_error_messaging

Conversation

@Luladjiev

Copy link
Copy Markdown
Owner

No description provided.

@Luladjiev
Luladjiev requested a review from Copilot September 15, 2025 08:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves error messages throughout the Git utility codebase by adding more context and specific details to help users better understand and resolve issues.

  • Enhanced error messages with specific variable values and context
  • Added helpful hints for troubleshooting (e.g., network connectivity, manual commands)
  • Improved variable naming in some functions for clarity

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/utils.rs Enhanced error messages with branch names and troubleshooting hints
src/commands/rebase.rs Added specific branch names and git commands to error messages
src/commands/fixup.rs Improved commit selection error messages and variable naming
src/commands/delete_branches.rs Added context about network connectivity and branch parsing details
src/commands/cherry_pick.rs Enhanced commit selection and parsing error messages
src/commands/checkout.rs Improved branch listing and selection error messages with branch type context
src/commands/branch.rs Added specific branch names to creation error messages
src/commands.rs Enhanced git command execution error messages with actual commands

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Luladjiev
Luladjiev force-pushed the improve_error_messaging branch from ca3e30d to c5f441c Compare September 15, 2025 08:17
@Luladjiev
Luladjiev merged commit 9621fba into main Sep 15, 2025
1 check passed
@Luladjiev
Luladjiev deleted the improve_error_messaging branch September 15, 2025 08:25
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.

2 participants