Skip to content

pr-git-2470/CodeWithHusain/outreachy-microproject-v1

tagged this 29 Oct 18:33
From: Hussain Sitamouwala <husainsitamuwala21@gmail.com>

Use the parse-options API to handle command-line options
consistently with other Git builtins.

The command currently parses options manually, duplicating
argument-handling logic. Using parse-options makes option
handling consistent with the rest of Git.

Replace manual option parsing while preserving support for
normalization, branch names, and refname validation.

Signed-off-by: Hussain Sitamouwala <husainsitamuwala21@gmail.com>

Submitted-As: https://lore.kernel.org/git/pull.2470.git.git.1793298807397.gitgitgadget@gmail.com
Assets 2
Loading