Artifactspublic-v0

curl

master
ply4 git calls54 ms288 KiB3 cachedprotocol v2
39 lines1.7 KiBRaw

OPTIONS

Options start with one or two dashes. Many of the options require an additional value next to them. If provided text does not start with a dash, it is presumed to be and treated as a URL.

The short "single-dash" form of the options, -d for example, may be used with or without a space between it and its value, although a space is a recommended separator. The long double-dash form, --data for example, requires a space between it and its value.

Short version options that do not need any additional values can be used immediately next to each other, like for example you can specify all the options -O, -L and -v at once as -OLv.

In general, all boolean options are enabled with --option and yet again disabled with --no-option. That is, you use the same option name but prefix it with no-. In this list we mostly show the --option version of them.

When --next is used, it resets the parser state and you start again with a clean option state, except for the options that are global. Global options retain their values and meaning even after --next.

If the long option name ends with an equals sign (=), the argument is the text following on its right side. (Added in 8.16.0)

The first argument that is exactly two dashes (--), marks the end of options; any argument after the end of options is interpreted as a URL argument even if it starts with a dash.

curl does little to no verification of the contents of command line arguments. Passing in "creative octets" like newlines might trigger unexpected results.

The following options are global: %GLOBALS.

ALL OPTIONS

1<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
2<!-- SPDX-License-Identifier: curl -->
3# OPTIONS
5Options start with one or two dashes. Many of the options require an
6additional value next to them. If provided text does not start with a dash, it
7is presumed to be and treated as a URL.
9The short "single-dash" form of the options, -d for example, may be used with
10or without a space between it and its value, although a space is a recommended
11separator. The long double-dash form, --data for example, requires a space
12between it and its value.
14Short version options that do not need any additional values can be used
15immediately next to each other, like for example you can specify all the
16options *-O*, *-L* and *-v* at once as *-OLv*.
18In general, all boolean options are enabled with --**option** and yet again
19disabled with --**no-**option. That is, you use the same option name but
20prefix it with `no-`. In this list we mostly show the --**option** version of
21them.
23When --next is used, it resets the parser state and you start again with a
24clean option state, except for the options that are global. Global options
25retain their values and meaning even after --next.
27If the long option name ends with an equals sign (`=`), the argument is the
28text following on its right side. (Added in 8.16.0)
30The first argument that is exactly two dashes (`--`), marks the end of
31options; any argument after the end of options is interpreted as a URL
32argument even if it starts with a dash.
34curl does little to no verification of the contents of command line arguments.
35Passing in "creative octets" like newlines might trigger unexpected results.
37The following options are global: `%GLOBALS`.
39# ALL OPTIONS
Diagnostics4 git calls · 54 ms
CallStatusSizeTime054 ms
discover200152 B2 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=2
git.response.bytes=152
git.server.agent=gitty/1.0
git.server.object_format=sha1
git.server.caps=agent ls-refs fetch object-format
git.server.fetch=shallow filter sideband-all
git.protocol.version=2
git.pkt.frames=8
git.pkt.data=6
git.pkt.flush=2
git.pkt.delim=0
git.pkt.bytes=152
git.pkt.payload.max=34
ls-refs200149 B · hit2 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=2
git.response.bytes=149
git.response.cache=HIT
git.response.duration_ms=2
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=149
git.pkt.payload.max=78
git.ls_refs.count=2
git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit2 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=50
git.response.bytes=293470
git.response.cache=HIT
git.response.duration_ms=2
git.fetch.filter=blob:none
git.fetch.filter.requested=tree:0
git.fetch.filter.fallback=blob:none
git.fetch.filter.learned=false
git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d
git.fetch.haves.count=0
git.fetch.deepen=10
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=10
git.pkt.data=8
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=293470
git.pkt.payload.max=65516
git.sideband.band1.bytes=293354
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=87
git.pack.bytes=293354
git.pack.ofs_delta=0
git.pack.ref_delta=1
git.pack.chain.max=1
git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0
git.pack.full=86
Open pack map
fetch200948 B · hit50 ms
git.upload-pack fetch
http.response.status_code=200
git.response.bytes=948
git.response.cache=HIT
git.response.duration_ms=50
git.fetch.wants=9155d857ec392d9d00d668847120fa3181f21d8f
git.fetch.haves.count=0
git.fetch.deepen=0
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=948
git.pkt.payload.max=927
git.sideband.band1.bytes=926
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0

Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.

Remote
https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
Ref
refs/heads/master
Commit
31c911efe5652725e930f4d2e60c9060e5f6646d
cf-ray
a5e3221d4bae5aae
Request
0c941221…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format