]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'cc/fast-import-usage' into seen
authorJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2026 23:21:00 +0000 (16:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2026 23:21:00 +0000 (16:21 -0700)
commitd9440387a60da32372ce93f62df9703785931fce
treeaa6bdfbb2019bb6e9e228da454e726914c5b6462
parent12fc8bbd74a1f4be84c4324be3d5a92a4aaf4148
parent84631f0695e08a298809da0cd3db1db0c07bdb35
Merge branch 'cc/fast-import-usage' into seen

The usage string of 'git fast-import' has been updated to use the
parse_options() API for displaying help, and its SYNOPSIS in the
documentation has been standardized to match.

* cc/fast-import-usage:
  fast-import: use struct option for usage string
  fast-import: move command state globals into 'struct fast_import_state'
  fast-import: introduce 'struct fast_import_state'
  fast-import: localize 'i' into the 'for' loops using it
  api-parse-options.adoc: document hidden and OPT_*_F option macros
  api-parse-options.adoc: document per-option flags
  parse-options: introduce OPT_HIDDEN_GROUP
builtin/fast-import.c
parse-options.c
parse-options.h
t/t0040-parse-options.sh
t/t0450/adoc-help-mismatches