-
-
Notifications
You must be signed in to change notification settings - Fork 419
Open
Description
Summary
The git branch command in dulwich is missing several useful options that are available in standard git.
Missing Options
--all: List both remote-tracking and local branches--remotes: List only remote-tracking branches--merged: List branches that have been merged into the current branch--no-merged: List branches that have not been merged into the current branch--contains: List branches that contain a specific commit--sort: Sort branches by specified criteria (name, date, etc.)--column: Display branch list in columns--list: List branches matching a pattern--show-current: Show the current branch name--copy: Copy a branch--move: Move/rename a branch--edit-description: Edit the description of a branch
Benefits
These options would improve dulwich's git branch functionality by:
- Providing comprehensive branch listing capabilities with
--all,--remotes, and filtering options - Enabling branch management workflows with merge status checking via
--mergedand--no-merged - Supporting advanced branch operations like copying and moving with
--copyand--move - Improving output formatting and usability with
--columnand--sort - Adding branch metadata management with
--edit-description
This would bring dulwich's branch command closer to feature parity with standard git and support more comprehensive branch management workflows.