diff options
| author | Philippe Blain <levraiphilippeblain@gmail.com> | 2022-10-21 15:13:33 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-10-21 13:51:05 -0700 |
| commit | 2e94339fdc3122fd2f92e865105523bc3866a65f (patch) | |
| tree | ee5834901825a77853ceb98433d15bef7d237626 /git-gui/lib/commit.tcl | |
| parent | a50fcc13dda245b39e63a2052107456e0b7e85f7 (diff) | |
subtree: add 'die_incompatible_opt' function to reduce duplication
9a3e3ca2ba (subtree: be stricter about validating flags, 2021-04-27)
added validation code to check that options given to 'git subtree <cmd>'
made sense with the command being used.
Refactor these checks by adding a 'die_incompatible_opt' function to
reduce code duplication.
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions
