pu 5add94c2cd5315d7070b716bcd83c89812ea7689
jch 0df66f1da183e4f5064a831b3ea8a289621475ec
next f2d1464379e7567b01b55fbf8432e75d72aa537f
master 101b3204f37606972b40fc17dec84560c22f69f6
master@{1} 56219baf1eae50134ee05eaa64e26e7f1207042c

Uncovered code in 'pu' not in 'jch'

pu 5add94c2cd5315d7070b716bcd83c89812ea7689
jch 0df66f1da183e4f5064a831b3ea8a289621475ec

builtin/bisect--helper.c

9aadf776 91 return error_errno(_("cannot open file '%s' in mode '%s'"), path, mode);
9aadf776 96 fclose(fp);
9aadf776 97 return error_errno(_("could not write to file '%s'"), path);
587c9fac 493 return error_errno(_("failed to write to '%s'"), git_path_bisect_log());
587c9fac 522 return error_errno(_("could not open '%s' for appending"),
f0bf9482 735 return BISECT_FAILED;
f0bf9482 756 res = BISECT_FAILED;
f0bf9482 768 res = BISECT_FAILED;
f0bf9482 780 res = BISECT_FAILED;
05a69202 823 fprintf(stderr, _("You need to start by \"git bisect "
05a69202 826 if (!isatty(STDIN_FILENO))
05a69202 827 return 1;
05a69202 834 yesno = git_prompt(_("Do you want me to do it for you "
05a69202 836 if (starts_with(yesno, _("n")) || starts_with(yesno, _("N")))
05a69202 837 return 1;
05a69202 839 return bisect_start(terms, 0, NULL, 0);
10520dbf 874 return BISECT_FAILED;
10520dbf 890 oid_array_clear(&revs);
10520dbf 891 return BISECT_FAILED;

builtin/clone.c

builtin/grep.c

e26e8bfc 579 if (file_exists(sparse_file)) {
e26e8bfc 583 free(sparse_file);
e26e8bfc 584 free(patterns);
e26e8bfc 585 return NULL;

builtin/hook.c

933f1b2e 42 printf(_("no commands configured for hook '%s'\n"),
933f1b2e 44 return 0;

builtin/index-pack.c

builtin/receive-pack.c

2dd1150a 239 return config_error_nonbool(var);
1e58de8c 1046 return code;
1e58de8c 1054 if (use_sideband)
1e58de8c 1055 finish_async(&muxer);
1e58de8c 1056 return code;
1e58de8c 1542 cmd->report.error_message = "broken symref";
1e58de8c 1727 cmd->report.error_message = "transaction failed to start";
2dd1150a 1839 continue;
1e58de8c 1866 if (!cmd->report.error_message)
1e58de8c 1867 cmd->report.error_message = "unable to migrate objects to permanent storage";
38a81b4e 2283 send_sideband(1, 1, buf.buf, buf.len, use_sideband);

builtin/show-index.c

88a09a55 29 hash_algo = hash_algo_by_name(hash_name);
88a09a55 30 if (hash_algo == GIT_HASH_UNKNOWN)
88a09a55 32 repo_set_hash_algo(the_repository, hash_algo);

builtin/sparse-checkout.c

bundle.c

22b74805 33 return NULL;
22b74805 70 status = -1;
22b74805 71 break;

commit-graph.c

4844812b 1356 data->generation = GENERATION_NUMBER_MAX;
de726f5c 1754 return -1;

connect.c

1349ffed 98 return 0;
9de0dd36 477 reader->hash_algo = &hash_algos[GIT_HASH_SHA1];
122037c2 566 hash = hash_algos[GIT_HASH_SHA1].name;
122037c2 567 len = strlen(hash);
122037c2 573 hash = next_server_feature_value("object-format", &len, &offset);

fetch-pack.c

4b831208 1212 the_hash_algo->name, hash_name);
4b831208 1214 } else if (hash_algo_by_ptr(the_hash_algo) != GIT_HASH_SHA1) {
4b831208 1216 the_hash_algo->name);

hook.c

933f1b2e 83 return NULL;

refs.c

remote-curl.c

7f605017 199 algo = hash_algo_by_name(value);
7f605017 200 if (algo == GIT_HASH_UNKNOWN)
7f605017 202 options.hash_algo = &hash_algos[algo];
90463f5d 264 return NULL;

remote-testsvn.c

remote.c

812a5889 1639 return NULL;
812a5889 1646 return branch->refname;
812a5889 1661 return NULL;
812a5889 1775 return NULL;

send-pack.c

5e4553bd 182 if (new_options) {
5e4553bd 184 new_options = 0;
5e4553bd 186 ret = -1;
5e4553bd 187 continue;
5e4553bd 223 ret = -1;
5e4553bd 224 break;
5e4553bd 241 hint->status != REF_STATUS_OK &&
5e4553bd 242 hint->status != REF_STATUS_REMOTE_REJECT) {
5e4553bd 435 else if (server_supports("report-status"))
212055a4 473 char *branch_name = git_default_branch_name(1);
212055a4 478 free(branch_name);

sequencer.c

1a443767 893 return NULL;
ee9800cd 1396 goto out;
ee9800cd 1400 goto out;
1a443767 1476 res = -1;
1a443767 1477 goto out;

serve.c

t/helper/test-config.c

a2371e32 103 goto print_usage_error;
92bca22f 109 goto print_usage_error;
92bca22f 114 fprintf(stderr, "Cannot use --submodule with read_early_config\n");
92bca22f 115 return TC_USAGE_ERROR;
92bca22f 130 fprintf(stderr, "Invalid argument to --submodule: '%s'\n",
92bca22f 132 free(subrepo);
92bca22f 133 ret = TC_USAGE_ERROR;
92bca22f 134 goto out;
a2371e32 160 printf("Value not found for \"%s\"\n", argv[1]);
b77651be 161 ret = TC_VALUE_NOT_FOUND;
a2371e32 167 printf("Value not found for \"%s\"\n", argv[1]);
b77651be 168 ret = TC_VALUE_NOT_FOUND;
a2371e32 175 printf("Value not found for \"%s\"\n", argv[1]);
b77651be 176 ret = TC_VALUE_NOT_FOUND;
92bca22f 187 fprintf(stderr, "Cannot use --submodule with configset_get_value\n");
92bca22f 188 ret = TC_USAGE_ERROR;
92bca22f 189 goto out;
a2371e32 205 printf("Value not found for \"%s\"\n", argv[1]);
b77651be 206 ret = TC_VALUE_NOT_FOUND;
92bca22f 210 fprintf(stderr, "Cannot use --submodule with configset_get_value_multi\n");
92bca22f 211 ret = TC_USAGE_ERROR;
92bca22f 212 goto out;
b77651be 218 ret = TC_CONFIG_FILE_ERROR;
b77651be 219 goto out;
a2371e32 232 printf("Value not found for \"%s\"\n", argv[1]);
b77651be 233 ret = TC_VALUE_NOT_FOUND;
92bca22f 239 fprintf(stderr, "Invalid syntax. Usage: test-tool config"
b77651be 241 ret = TC_USAGE_ERROR;

t/helper/test-proc-receive.c

1e58de8c 133 usage_msg_opt("Too many arguments.", proc_receive_usage, options);

transport-helper.c

5e4553bd 837 hint = NULL;
5e4553bd 856 (*ref)->report.message = msg;
212055a4 1102 char *branch_name = git_default_branch_name(1);
212055a4 1108 free(branch_name);
8b85ee4f 1168 exit(128);

wrapper.c

14570dc6 112 return res;

Commits introducing uncovered code:

Abhishek Kumar 4844812b commit-graph: introduce commit_graph_data_slab
brian m. carlson 122037c2 connect: add function to detect supported v1 hash functions
brian m. carlson 14570dc6 wrapper: add function to compare strings with different NUL termination
brian m. carlson 8b85ee4f transport-helper: implement object-format extensions
brian m. carlson 82db03ab send-pack: detect when the server doesn't support our hash
brian m. carlson 90463f5d remote-curl: detect algorithm for dumb HTTP by size
brian m. carlson 7f605017 remote-curl: implement object-format extensions
brian m. carlson 4b831208 fetch-pack: parse and advertise the object-format capability
brian m. carlson ab67235b connect: parse v2 refs with correct hash algorithm
brian m. carlson 9de0dd36 serve: advertise object-format capability for protocol v2
brian m. carlson 1349ffed connect: add function to fetch value of a v2 server capability
brian m. carlson 22b74805 bundle: detect hash algorithm when reading refs
brian m. carlson 88a09a55 builtin/show-index: provide options to determine hash algo
brian m. carlson 48bf1415 fetch-pack: detect when the server doesn't support our hash
brian m. carlson 715f598a builtin/index-pack: add option to specify hash algorithm
Damien Robert 812a5889 remote.c: fix handling of %(push:remoteref)
Derrick Stolee ef713d4b commit-graph: change test to die on parse, not load
Don Goodman-Wilson c345805a init: allow overriding the default branch name for new repositories
Emily Shaffer 933f1b2e hook: add list command
Jiang Xin 5e4553bd New capability "report-status-v2" for git-push
Jiang Xin 1e58de8c receive-pack: add new proc-receive hook
Jiang Xin 2dd1150a receive-pack: new config receive.procReceiveRefs
Johannes Schindelin f361120f clone: learn about the possibly-configured default branch name
Johannes Schindelin c45d469f testsvn: respect `core.defaultBranchName`
Johannes Schindelin 212055a4 send-pack/transport-helper: respect `core.defaultBranchName`
Matheus Tavares e26e8bfc grep: honor sparse checkout patterns
Matheus Tavares b77651be t/helper/test-config: return exit codes consistently
Matheus Tavares 92bca22f config: correctly read worktree configs in submodules
Matheus Tavares a2371e32 t/helper/test-config: facilitate addition of new cli options
Miriam Rubio 9aadf776 bisect--helper: introduce new `write_in_file()` function
Miriam Rubio 36b543b5 bisect--helper: fix `cmd_*()` function switch default return
Phillip Wood 1a443767 rebase -i: support --ignore-date
Phillip Wood ee9800cd rebase -i: support --committer-date-is-author-date
Pranit Bauva 10520dbf bisect--helper: reimplement `bisect_state` & `bisect_head` shell functions in C
Pranit Bauva f0bf9482 bisect--helper: finish porting `bisect_start()` to C
Pranit Bauva 587c9fac bisect--helper: reimplement `bisect_next` and `bisect_auto_next` shell functions in C
Pranit Bauva 05a69202 bisect--helper: reimplement `bisect_autostart` shell function in C
Shawn O. Pearce 38a81b4e receive-pack: Wrap status reports inside side-band-64k
SZEDER Gábor de726f5c commit-graph: simplify chunk writes into loop
SZEDER Gábor bd74c1d6 commit-graph: check chunk sizes after writing
Xin Li 98564d80 sparse-checkout: upgrade repository to version 1 when enabling extension

Uncovered code in 'jch' not in 'next'

jch 0df66f1da183e4f5064a831b3ea8a289621475ec
next f2d1464379e7567b01b55fbf8432e75d72aa537f

builtin/fetch-pack.c

9da69a65 246 pack_lockfiles.items[i].string);

builtin/pack-objects.c

builtin/submodule--helper.c

fetch-pack.c

http-fetch.c

8e6adb69 30 walker_targets_free(commits, commit_id, write_ref);
8e6adb69 33 fprintf(stderr,
8d5d2a34 128 commits = walker_targets_stdin(&commit_id, &write_ref);

upload-pack.c

acaaca7d 210 return readsz;
acaaca7d 438 send_client_data(1, output_state.buffer, output_state.used,
dd4b732d 1411 string_list_clear(&data->uri_protocols, 0);

Commits introducing uncovered code:

Jonathan Tan 9da69a65 fetch-pack: support more than one pack lockfile
Jonathan Tan 8e6adb69 http-fetch: refactor into function
Jonathan Tan 8d5d2a34 http-fetch: support fetching packfiles by URL
Jonathan Tan acaaca7d upload-pack: refactor reading of pack-objects out
Jonathan Tan dd4b732d upload-pack: send part of packfile response as uri
Shourya Shukla 2964d6e5 submodule: port subcommand 'set-branch' from shell to C

Uncovered code in 'next' not in 'master'

next f2d1464379e7567b01b55fbf8432e75d72aa537f
master 101b3204f37606972b40fc17dec84560c22f69f6

builtin/clean.c

builtin/diff.c

8bfcb3a6 329 usage(builtin_diff_usage);

builtin/worktree.c

c9b77f2c 105 strbuf_addf(reason, _("unable to read gitdir file (%s)"),
916133ef 166 return -1;

dir.c

upload-pack.c

f8edd1ca 381 send_client_data(1, data, 1,
e9d882b8 972 data->multi_ack = MULTI_ACK;
f8edd1ca 982 data->use_sideband = DEFAULT_PACKET_MAX;
b5a2068c 1019 data->no_progress = 1;
f203a88c 1135 data->keepalive = git_config_int(var, value);
f203a88c 1136 if (!data->keepalive)
f203a88c 1137 data->keepalive = -1;
e3835cd4 1143 data->allow_sideband_all = git_config_bool(var, value);
e3835cd4 1338 data->allow_sideband_all) &&

Commits introducing uncovered code:

Chris Torek 8bfcb3a6 git diff: improve range handling
Christian Couder f8edd1ca upload-pack: move use_sideband to upload_pack_data
Christian Couder ea2c6e60 upload-pack: refactor common code into do_got_oid()
Christian Couder e9d882b8 upload-pack: change multi_ack to an enum
Christian Couder f203a88c upload-pack: move keepalive to upload_pack_data
Christian Couder e3835cd4 upload-pack: move allow_sideband_all to upload_pack_data
Elijah Newren f7f5c6c0 clean: consolidate handling of ignored parameters
Elijah Newren 351ea1c3 dir, clean: avoid disallowed behavior
Eric Sunshine c9b77f2c worktree: factor out repeated string literal
Eric Sunshine 916133ef worktree: prune linked worktree referencing main worktree path
Eric Sunshine d179af67 worktree: generalize candidate worktree path validation
Jeff King b5a2068c upload-pack: actually use some upload_pack_data bitfields

Uncovered code in 'master' not in 'master@{1}'

master 101b3204f37606972b40fc17dec84560c22f69f6
master@{1} 56219baf1eae50134ee05eaa64e26e7f1207042c

add-patch.c

line-log.c

f32dde8c 1159 return 1;
f32dde8c 1166 return 0;

pkt-line.c

0181b600 106 die_errno(_("unable to write stateless separator packet"));

protocol.c

3697caf4 35 return protocol_v2;

remote-curl.c

serve.c

t/helper/test-pkt-line.c

0181b600 50 printf("0002\n");
0181b600 51 break;

t/helper/test-regex.c

aba8187e 53 goto usage;
aba8187e 59 goto usage;
aba8187e 67 goto usage;
aba8187e 90 if (silent)
aba8187e 91 return ret;
aba8187e 101 if (silent || ret == REG_NOMATCH)
aba8187e 102 return ret;

Commits introducing uncovered code:

Carlo Marcelo Arenas Belón aba8187e t/helper: teach test-regex to report pattern errors (like REG_ILLSEQ)
Denton Liu 0181b600 pkt-line: define PACKET_READ_RESPONSE_END
Denton Liu 74b082ad remote-curl: error on incomplete packet
Denton Liu b0df0c16 stateless-connect: send response end packet
Derrick Stolee f32dde8c line-log: integrate with changed-path Bloom filters
Johannes Schindelin 2c8bd847 checkout -p: handle new files correctly
Jonathan Nieder 3697caf4 config: let feature.experimental imply protocol.version=2