]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: change "branch" to "reference" in --force -h output
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 31 Aug 2018 20:09:56 +0000 (20:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Aug 2018 21:04:05 +0000 (14:04 -0700)
commit8cd4b7c14895a055de01962237d580173e5beca1
tree5a4868572a53c667275122a7715a5872607ee307
parentb81699af4861f9363cdebb86e8f3d95bd0b794dc
fetch: change "branch" to "reference" in --force -h output

The -h output has been referring to the --force command as forcing the
overwriting of local branches, but since "fetch" more generally
fetches all sorts of references in all refs/ namespaces, let's talk
about forcing the update of a a "reference" instead.

This wording was initially introduced in 8320199873 ("Rewrite
builtin-fetch option parsing to use parse_options().", 2007-12-04).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c