git/builtin
Ævar Arnfjörð Bjarmason c08cfc395f doc txt & -h consistency: add or fix optional "--" syntax
Add the "[--]" for those cases where the *.txt and -h were
inconsistent, or where we incorrectly stated in one but not the other
that the "--" was mandatory.

In the case of "rev-list" both sides were wrong, as we we don't
require one or more paths if "--" is used, e.g. this is OK:

	git rev-list HEAD --

That part of this change is not a "doc txt & -h consistency" change,
as we're changing both versions, doing so here makes both sides
consistent.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-10-13 09:32:56 -07:00
..
add.c
am.c
annotate.c
apply.c
archive.c parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --options 2022-08-19 11:13:14 -07:00
bisect--helper.c parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --options 2022-08-19 11:13:14 -07:00
blame.c parse-options: add support for parsing subcommands 2022-08-19 11:13:14 -07:00
branch.c
bugreport.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
bundle.c bundle: define subcommand -h in terms of command -h 2022-10-13 09:32:54 -07:00
cat-file.c doc txt & -h consistency: add "-z" to cat-file "-h" 2022-10-13 09:32:55 -07:00
check-attr.c
check-ignore.c
check-mailmap.c
check-ref-format.c
checkout--worker.c
checkout-index.c
checkout.c Merge branch 'vd/sparse-reset-checkout-fixes' into maint 2022-08-26 11:13:13 -07:00
clean.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
clone.c clone: warn on failure to repo_init() 2022-08-24 08:46:36 -07:00
column.c
commit-graph.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
commit-tree.c doc txt & -h consistency: word-wrap 2022-10-13 09:32:55 -07:00
commit.c
config.c
count-objects.c
credential-cache--daemon.c doc SYNOPSIS & -h: use "-" to separate words in labels, not "_" 2022-10-13 09:32:56 -07:00
credential-cache.c
credential-store.c
credential.c
describe.c
diagnose.c doc txt & -h consistency: correct padding around "[]()" 2022-10-13 09:32:55 -07:00
diff-files.c built-ins: consistently add "\n" between "usage" and options 2022-10-13 09:32:54 -07:00
diff-index.c built-ins: consistently add "\n" between "usage" and options 2022-10-13 09:32:54 -07:00
diff-tree.c built-ins: consistently add "\n" between "usage" and options 2022-10-13 09:32:54 -07:00
diff.c built-ins: consistently add "\n" between "usage" and options 2022-10-13 09:32:54 -07:00
difftool.c parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --options 2022-08-19 11:13:14 -07:00
env--helper.c parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --options 2022-08-19 11:13:14 -07:00
fast-export.c parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --options 2022-08-19 11:13:14 -07:00
fast-import.c
fetch-pack.c
fetch.c Merge branch 'ds/decorate-filter-tweak' 2022-08-29 14:55:11 -07:00
fmt-merge-msg.c
for-each-ref.c
for-each-repo.c doc txt & -h consistency: add or fix optional "--" syntax 2022-10-13 09:32:56 -07:00
fsck.c
fsmonitor--daemon.c
gc.c Merge branch 'bc/gc-crontab-fix' 2022-09-05 18:33:41 -07:00
get-tar-commit-id.c
grep.c
hash-object.c doc txt & -h consistency: word-wrap 2022-10-13 09:32:55 -07:00
help.c doc txt & -h consistency: balance unbalanced "[" and "]" 2022-10-13 09:32:55 -07:00
hook.c builtin/hook.c: let parse-options parse subcommands 2022-08-19 11:13:15 -07:00
index-pack.c
init-db.c doc txt & -h consistency: word-wrap 2022-10-13 09:32:55 -07:00
interpret-trailers.c doc txt & -h consistency: word-wrap 2022-10-13 09:32:55 -07:00
log.c Merge branch 'sg/parse-options-subcommand' 2022-09-01 13:40:18 -07:00
ls-files.c ls-files: introduce "--format" option 2022-07-23 10:53:55 -07:00
ls-remote.c
ls-tree.c
mailinfo.c
mailsplit.c
merge-base.c
merge-file.c
merge-index.c
merge-ours.c
merge-recursive.c
merge-tree.c
merge.c Merge branch 'en/merge-multi-strategies' 2022-09-01 13:40:19 -07:00
mktag.c
mktree.c
multi-pack-index.c Merge branch 'ac/bitmap-lookup-table' 2022-09-05 18:33:39 -07:00
mv.c Merge branch 'jc/builtin-mv-move-array' 2022-07-18 13:31:53 -07:00
name-rev.c
notes.c builtin/notes.c: let parse-options parse subcommands 2022-08-19 11:13:15 -07:00
pack-objects.c doc txt & -h consistency: use "<options>", not "<options>..." 2022-10-13 09:32:55 -07:00
pack-redundant.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
pack-refs.c
patch-id.c
prune-packed.c
prune.c
pull.c
push.c
range-diff.c
read-tree.c doc txt & -h consistency: word-wrap 2022-10-13 09:32:55 -07:00
rebase.c rebase: add rebase.updateRefs config option 2022-07-19 12:49:04 -07:00
receive-pack.c
reflog.c Merge branch 'sg/parse-options-subcommand' 2022-09-01 13:40:18 -07:00
remote-ext.c
remote-fd.c
remote.c Merge branch 'sg/parse-options-subcommand' 2022-09-01 13:40:18 -07:00
repack.c
replace.c refs: use ref_namespaces for replace refs base 2022-08-05 14:13:12 -07:00
rerere.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
reset.c pathspec.h: move pathspec_needs_expanded_index() from reset.c to here 2022-08-08 13:23:26 -07:00
rev-list.c doc txt & -h consistency: add or fix optional "--" syntax 2022-10-13 09:32:56 -07:00
rev-parse.c
revert.c parse-options: PARSE_OPT_KEEP_UNKNOWN only applies to --options 2022-08-19 11:13:14 -07:00
rm.c rm: integrate with sparse-index 2022-08-08 13:23:26 -07:00
send-pack.c
shortlog.c parse-options: add support for parsing subcommands 2022-08-19 11:13:14 -07:00
show-branch.c doc txt & -h consistency: word-wrap 2022-10-13 09:32:55 -07:00
show-index.c
show-ref.c doc txt & -h consistency: word-wrap 2022-10-13 09:32:55 -07:00
sparse-checkout.c doc txt & -h consistency: use "<options>", not "<options>..." 2022-10-13 09:32:55 -07:00
stash.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
stripspace.c
submodule--helper.c revisions API: don't leak memory on argv elements that need free()-ing 2022-08-03 11:12:36 -07:00
symbolic-ref.c symbolic-ref: refuse to set syntactically invalid target 2022-08-01 12:17:13 -07:00
tag.c
unpack-file.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
unpack-objects.c
update-index.c
update-ref.c
update-server-info.c
upload-archive.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
upload-pack.c
var.c
verify-commit.c
verify-pack.c doc txt & -h consistency: add or fix optional "--" syntax 2022-10-13 09:32:56 -07:00
verify-tag.c
worktree.c doc txt & -h consistency: fix mismatching labels 2022-10-13 09:32:56 -07:00
write-tree.c