aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-08-05 03:25:43 +0200
committerJunio C Hamano <gitster@pobox.com>2021-08-05 08:59:37 -0700
commit98e2d9d6f7dc1aff61e99a1daed98e18c7c8526b (patch)
tree4922d2ea560278279c8421556e834b72d304695b /commit-graph.c
parentserve.[ch]: remove "serve_options", split up --advertise-refs code (diff)
downloadgit-98e2d9d6f7dc1aff61e99a1daed98e18c7c8526b.tar.gz
git-98e2d9d6f7dc1aff61e99a1daed98e18c7c8526b.zip
upload-pack: document and rename --advertise-refs
The --advertise-refs documentation in git-upload-pack added in 9812f2136b3 (upload-pack.c: use parse-options API, 2016-05-31) hasn't been entirely true ever since v2 support was implemented in e52449b6722 (connect: request remote refs using v2, 2018-03-15). Under v2 we don't advertise the refs at all, but rather dump the capabilities header. This option has always been an obscure internal implementation detail, it wasn't even documented for git-receive-pack. Since it has exactly one user let's rename it to --http-backend-info-refs, which is more accurate and points the reader in the right direction. Let's also cross-link this from the protocol v1 and v2 documentation. I'm retaining a hidden --advertise-refs alias in case there's any external users of this, and making both options hidden to the bash completion (as with most other internal-only options). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
0/+11 2015-04-17config: fix settings in default_user_config templateOssi Herrala1-2/+2 2015-04-15parse_date_basic(): let the system handle DST conversionJunio C Hamano1-2/+6 2015-04-15parse_date_basic(): return early when given a bogus timestampJunio C Hamano1-3/+3 2015-04-14CodingGuidelines: update 'rough' rule countJulian Gindi1-1/+1 2015-04-12completion: fix global bash variable leak on __gitcompappendMárcio Almada1-1/+1 2015-04-08connect.c: ignore extra colon after hostnameTorsten Bögershausen3-16/+24 2015-04-04diff-highlight: do not split multibyte charactersKyle J. McKay1-2/+7 2015-04-02push --signed: tighten what the receiving end can ask to signJunio C Hamano1-0/+23 2015-04-01howto: document more tools for recovery corruptionJeff King1-0/+237 2015-03-31fast-import doc: remove suggested 16-parent limitJonathan Nieder1-4/+0 2015-03-31Git 2.3.5v2.3.5Junio C Hamano3-2/+6 2015-03-31gitweb.conf.txt: say "build-time", not "built-time"Jérôme Zago1-1/+1 2015-03-31enter_repo(): fix docs to match codePaul Tan1-8/+3 2015-03-30cherry-pick: fix docs describing handling of empty commitsJeff King1-1/+2 2015-03-30docs: clarify what git-rebase's "-p" / "--preserve-merges" doesSebastian Schuberth1-1/+3 2015-03-29parse-options.h: OPTION_{BIT,SET_INT} do not store pointer to defvalIvan Ukhov1-2/+1 2015-03-28Prepare for 2.3.5Junio C Hamano2-1/+42 2015-03-282.3.2 release notes: typofixThomas Ackermann1-1/+1 2015-03-27Update mailmap to spell out "Alexander Kuleshov"Junio C Hamano1-0/+1 2015-03-26diff-no-index: align D/F handling with that of normal GitJunio C Hamano2-2/+33 2015-03-26docs: clarify "preserve" option wording for git-pullSebastian Schuberth1-3/+2 2015-03-26git-push.txt: clean up force-with-lease wordingPhil Hord1-8/+6 2015-03-25diff-no-index: DWIM "diff D F" into "diff D/F F"Junio C Hamano2-0/+65 2015-03-24report_path_error(): move to dir.cJunio C Hamano4-44/+44 2015-03-24git.txt: list index versions in plain EnglishNguyễn Thái Ngọc Duy1-1/+2 2015-03-23Git 2.3.4v2.3.4Junio C Hamano4-3/+36 2015-03-22completion: use __gitcomp_nl() for completing refsSZEDER Gábor1-2/+2 2015-03-20read-cache: fix reading of split indexThomas Gummerer1-19/+23 2015-03-20refs.c: drop curate_packed_refsJeff King2-67/+2 2015-03-20repack: turn on "ref paranoia" when doing a destructive repackJeff King2-3/+7 2015-03-20prune: turn on ref_paranoia flagJeff King2-2/+3 2015-03-20refs: introduce a "ref paranoia" flagJeff King4-0/+25