* Git Test Coverage Report (Wed. July 10)
@ 2019-07-11 1:47 Derrick Stolee
2019-07-11 2:13 ` Derrick Stolee
0 siblings, 1 reply; 3+ messages in thread
From: Derrick Stolee @ 2019-07-11 1:47 UTC (permalink / raw)
To: GIT Mailing-list
Here is today's test coverage report.
Thanks,
-Stolee
[1] https://derrickstolee.github.io/git-test-coverage/reports/2019-07-10.htm
[2] https://derrickstolee.github.io/git-test-coverage/reports/2019-07-10.txt
---
pu 4b52dbde4091e50c06af0c7ea0e71426941019a6
jch 59741dc3e9aec4a485f18c8adb47ae91cb4641a6
next 20b46463406ef6ca70b1a63c5e26d4e2ead8dc13
master 74583d89127e21255c12dd3c8a3bf60b497d7d03
master@{1} aa25c82427ae70aebf3b8f970f2afd54e9a2a8c6
Uncovered code in 'pu' not in 'jch'
--------------------------------------------------------
blame.c
170072f9 846) (result[i] >= most_certain_line_a ||
170072f9 847) second_best_result[i] >= most_certain_line_a)) {
170072f9 848) certainties[i] = CERTAINTY_NOT_CALCULATED;
170072f9 951) max_search_distance_b = 0;
1fc73384 998) return;
8934ac8c 1190) ent->ignored == next->ignored &&
8934ac8c 1191) ent->unblamable == next->unblamable) {
43885768 1607) continue;
ae3f36de 2425) continue;
builtin/blame.c
builtin/cat-file.c
builtin/fetch-pack.c
builtin/pack-objects.c
builtin/rebase.c
d559f502 759) ret = error(_("could not remove '%s'"),
d559f502 1675) error(_("could not remove '%s'"),
builtin/remote.c
f39a9c65 1551) die(_("--save-to-push cannot be used with other options"));
f39a9c65 1575) die(_("--save-to-push can only be used when only one url is defined"));
fetch-pack.c
http-fetch.c
http.c
55cac500 2302) target ? hash_to_hex(target->hash) : base_url,
oidset.c
promisor-remote.c
0ba08c05 25) die(_("Remote with no URL"));
54248706 61) warning(_("promisor remote name cannot begin with '/': %s"),
54248706 63) return NULL;
7bdf0926 93) previous->next = r->next;
7b6e1b04 108) return git_config_string(&core_partial_clone_filter_default,
b21a55f3 139) return 0;
dcc8b4e9 202) static int remove_fetched_oids(struct object_id **oids, int oid_nr, int to_free)
dcc8b4e9 204) int i, missing_nr = 0;
dcc8b4e9 205) int *missing = xcalloc(oid_nr, sizeof(*missing));
dcc8b4e9 206) struct object_id *old_oids = *oids;
dcc8b4e9 208) int old_fetch_if_missing = fetch_if_missing;
dcc8b4e9 210) fetch_if_missing = 0;
dcc8b4e9 212) for (i = 0; i < oid_nr; i++)
dcc8b4e9 213) if (oid_object_info_extended(the_repository, &old_oids[i], NULL, 0)) {
dcc8b4e9 214) missing[i] = 1;
dcc8b4e9 215) missing_nr++;
dcc8b4e9 218) fetch_if_missing = old_fetch_if_missing;
dcc8b4e9 220) if (missing_nr) {
dcc8b4e9 221) int j = 0;
dcc8b4e9 222) new_oids = xcalloc(missing_nr, sizeof(*new_oids));
dcc8b4e9 223) for (i = 0; i < oid_nr; i++)
dcc8b4e9 224) if (missing[i])
dcc8b4e9 225) oidcpy(&new_oids[j++], &old_oids[i]);
dcc8b4e9 226) *oids = new_oids;
dcc8b4e9 227) if (to_free)
dcc8b4e9 228) free(old_oids);
dcc8b4e9 231) free(missing);
dcc8b4e9 233) return missing_nr;
dcc8b4e9 248) if (missing_nr == 1)
dcc8b4e9 249) continue;
dcc8b4e9 250) missing_nr = remove_fetched_oids(&missing_oids, missing_nr, to_free);
dcc8b4e9 251) if (missing_nr) {
dcc8b4e9 252) to_free = 1;
dcc8b4e9 253) continue;
dcc8b4e9 261) free(missing_oids);
protocol.c
ref-filter.c
2582083f 93) keydata_aka_refname ? keydata_aka_refname : k->wt->head_ref);
remote-curl.c
sequencer.c
37e9ee5c 293) ret = -1;
37e9ee5c 311) ret = error(_("could not remove '%s'"), buf.buf);
upload-pack.c
a8d662e3 130) return readsz;
820a5361 149) BUG("packfile_uris requires sideband-all");
a8d662e3 355) send_client_data(1, output_state.buffer, output_state.used);
820a5361 1386) string_list_clear(&data->uri_protocols, 0);
wrapper.c
Commits introducting uncovered code:
Barret Rhoden 1fc73384 blame: optionally track line fingerprints during fill_blame_origin()
Barret Rhoden 8934ac8c blame: add config options for the output of ignored or unblamable lines
Barret Rhoden 43885768 blame: use the fingerprint heuristic to match ignored lines
Barret Rhoden ae3f36de blame: add the ability to ignore commits and their changes
Christian Couder 7b6e1b04 Move core_partial_clone_filter_default to promisor-remote.c
Christian Couder dcc8b4e9 promisor-remote: implement promisor_remote_get_direct()
Christian Couder b21a55f3 promisor-remote: parse remote.*.partialclonefilter
Christian Couder 7bdf0926 promisor-remote: use repository_format_partial_clone
Christian Couder 54248706 Add initial support for many promisor remotes
Christian Couder 0ba08c05 Remove fetch-object.{c,h} in favor of promisor-remote.{c,h}
Denton Liu f39a9c65 remote: add --save-to-push option to git remote set-url
Jonathan Tan a8d662e3 upload-pack: refactor reading of pack-objects out
Jonathan Tan 820a5361 upload-pack: send part of packfile response as uri
Junio C Hamano 55cac500 Merge branch 'jt/fetch-cdn-offload' into pu
Michael Platings 170072f9 blame: add a fingerprint heuristic to match ignored lines
Nickolai Belakovski 2582083f ref-filter: add worktreepath atom
Phillip Wood d559f502 rebase --abort/--quit: cleanup refs/rewritten
Phillip Wood 37e9ee5c sequencer: return errors from sequencer_remove_state()
Uncovered code in 'jch' not in 'next'
--------------------------------------------------------
builtin/branch.c
1fde99cf 833) die(_("The -a, and -r, options to 'git branch' do not take a branch name.\n"
builtin/checkout.c
builtin/commit.c
builtin/gc.c
efeb229e 691) return 1;
builtin/rebase.c
526c03b5 1262) goto done;
10572de1 1278) goto done;
commit-graph.c
d83160e8 906) error(_("error opening index for %s"), packname.buf);
d83160e8 907) return 1;
63a8be62 946) continue;
93ba1867 969) display_progress(ctx->progress, ctx->approx_nr_objects);
8520d7fc 1039) error(_("unable to create leading directories of %s"),
8520d7fc 1041) return errno;
efeb229e 1158) error(_("the commit graph format cannot write %d commits"), count_distinct);
efeb229e 1159) res = 1;
efeb229e 1160) goto cleanup;
efeb229e 1169) error(_("too many commits to write graph"));
efeb229e 1170) res = 1;
efeb229e 1171) goto cleanup;
list-objects-filter-options.c
5c03bc8b 94) strbuf_addf(errbuf, _("invalid filter-spec '%s'"), arg);
read-cache.c
ee70c128 1723) if (advice_unknown_index_extension) {
ee70c128 1724) warning(_("ignoring optional %.4s index extension"), ext);
ee70c128 1725) advise(_("This is likely due to the file having been written by a newer\n"
Commits introducting uncovered code:
Denton Liu 526c03b5 rebase: refactor can_fast_forward into goto tower
Denton Liu 10572de1 rebase: fast-forward --onto in more cases
Derrick Stolee efeb229e commit-graph: return with errors during write
Derrick Stolee d83160e8 commit-graph: extract fill_oids_from_packs()
Derrick Stolee 63a8be62 commit-graph: extract fill_oids_from_commit_hex()
Derrick Stolee 93ba1867 commit-graph: extract fill_oids_from_all_packs()
Derrick Stolee 8520d7fc commit-graph: extract write_commit_graph_file()
Jonathan Nieder ee70c128 index: offer advice for unknown index extensions
Matthew DeVore 5c03bc8b list-objects-filter-options: error is localizeable
Philip Oakley 1fde99cf doc branch: provide examples for listing remote tracking branches
Uncovered code in 'next' not in 'master'
--------------------------------------------------------
builtin/am.c
97387c8b 1662) die("unable to read from stdin; aborting");
6e7baf24 2336) die(_("interactive mode requires patches on the command line"));
builtin/bisect--helper.c
7877ac3d 574) retval = error(_("invalid ref: '%s'"), start_head.buf);
7877ac3d 575) goto finish;
builtin/fast-export.c
e80001f8 81) static int parse_opt_reencode_mode(const struct option *opt,
e80001f8 84) if (unset) {
e80001f8 85) reencode_mode = REENCODE_ABORT;
e80001f8 86) return 0;
e80001f8 89) switch (git_parse_maybe_bool(arg)) {
e80001f8 91) reencode_mode = REENCODE_NO;
e80001f8 92) break;
e80001f8 94) reencode_mode = REENCODE_YES;
e80001f8 95) break;
e80001f8 97) if (!strcasecmp(arg, "abort"))
e80001f8 98) reencode_mode = REENCODE_ABORT;
e80001f8 100) return error("Unknown reencoding mode: %s", arg);
e80001f8 103) return 0;
e80001f8 665) switch(reencode_mode) {
e80001f8 667) reencoded = reencode_string(message, "UTF-8", encoding);
e80001f8 668) break;
e80001f8 670) break;
e80001f8 672) die("Encountered commit-specific encoding %s in commit "
e80001f8 674) encoding, oid_to_hex(&commit->object.oid));
ccbfc96d 686) printf("encoding %s\n", encoding);
builtin/index-pack.c
8a30a1ef 1365) continue;
builtin/log.c
13cdf780 873) return 0;
builtin/merge.c
f3f8311e 1290) usage_msg_opt(_("--quit expects no arguments"),
builtin/worktree.c
1de16aec 297) BUG("How come '%s' becomes empty after sanitization?", sb.buf);
builtin/write-tree.c
76a7bc09 53) die("%s: prefix %s not found", me, tree_prefix);
fast-import.c
3edfcc65 2612) read_next_command();
3edfcc65 2679) strbuf_addf(&new_data,
grep.c
de99eb0c 1784) BUG("grep call which could print a name requires "
read-cache.c
7bd9631b 2201) src_offset += load_cache_entries_threaded(istate, mmap, mmap_size, nr_threads, ieot);
refs.c
1de16aec 111) sanitized->buf[sanitized->len-1] = '-';
1de16aec 170) if (sanitized)
1de16aec 171) strbuf_addch(sanitized, '-');
1de16aec 173) return -1;
1de16aec 178) strbuf_complete(sanitized, '/');
1de16aec 215) BUG("sanitizing refname '%s' check returned error", refname);
server-info.c
f4f476b6 110) ret = -1;
f4f476b6 111) goto out;
f4f476b6 123) goto out;
f4f476b6 125) goto out;
f4f476b6 134) if (uic.cur_fp)
f4f476b6 135) fclose(uic.cur_fp);
Commits introducting uncovered code:
Denton Liu 13cdf780 format-patch: teach format.notes config option
Elijah Newren e80001f8 fast-export: do automatic reencoding of commit messages only if requested
Elijah Newren ccbfc96d fast-export: avoid stripping encoding header if we cannot reencode
Elijah Newren 3edfcc65 fast-import: support 'encoding' commit header
Emily Shaffer de99eb0c grep: fail if call could output and name is null
Eric Wong f4f476b6 update-server-info: avoid needless overwrites
Jeff King 97387c8b am: read interactive input from stdin
Jeff King 6e7baf24 am: drop tty requirement for --interactive
Jeff King 76a7bc09 cmd_{read,write}_tree: rename "unused" variable that is used
Jeff King 7bd9631b read-cache: drop unused parameter from threaded load
Johannes Schindelin 7877ac3d bisect--helper: verify HEAD could be parsed before continuing
Jonathan Tan 8a30a1ef index-pack: prefetch missing REF_DELTA bases
Nguyễn Thái Ngọc Duy f3f8311e merge: add --quit
Nguyễn Thái Ngọc Duy 1de16aec worktree add: sanitize worktree names
Uncovered code in 'master' not in 'master@{1}'
--------------------------------------------------------
builtin/rebase.c
4c785c0e 1206) opts->flags &= ~REBASE_DIFFSTAT;
diff.c
8ef05193 5217) return error(_("%s expects a numerical value"), "--unified");
parse-options-cb.c
f7e68a08 20) return error(_("option `%s' expects a numerical value"),
parse-options.c
f7e68a08 199) return error(_("%s expects a numerical value"),
progress.c
1aed1a5f 131) cols - progress->title_len - 1 : 0;
remote-curl.c
8a1569d6 1120) die(_("protocol error: expected sha/ref, got '%s'"), p);
8a1569d6 1126) die(_("protocol error: expected sha/ref, got '%s'"), p);
trace2/tr2_tls.c
5fdae9d3 87) return pthread_getspecific(tr2tls_key) == tr2tls_thread_main;
Commits introducting uncovered code:
Jeff Hostetler 5fdae9d3 trace2: fix tracing when NO_PTHREADS is defined
Jiang Xin 8a1569d6 i18n: fix typos found during l10n for git 2.22.0
Johannes Schindelin 4c785c0e rebase: replace incorrect logical negation by correct bitwise one
Nguyễn Thái Ngọc Duy 8ef05193 diff-parseopt: restore -U (no argument) behavior
Nguyễn Thái Ngọc Duy f7e68a08 parse-options: check empty value in OPT_INTEGER and OPT_ABBREV
SZEDER Gábor 1aed1a5f progress: avoid empty line when breaking the progress line
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Git Test Coverage Report (Wed. July 10)
2019-07-11 1:47 Git Test Coverage Report (Wed. July 10) Derrick Stolee
@ 2019-07-11 2:13 ` Derrick Stolee
2019-07-11 21:07 ` Philip Oakley
0 siblings, 1 reply; 3+ messages in thread
From: Derrick Stolee @ 2019-07-11 2:13 UTC (permalink / raw)
To: GIT Mailing-list
I apologize for the incorrect report sent earlier. I changed something about my workflow, and it changed where build outputs were downloaded and I included an old report.
-Stolee
---
pu c984b65d414a0da7af629eb476f12b27e13ede0b
jch 2bb3fc833ce3b23a27fdaba73982b617ba480bb7
next f5cf68d754516a24d6a948b93daa5343b6152217
master 6d5b26420848ec3bc7eae46a7ffa54f20276249d
master@{1} 8dca754b1e874719a732bc9ab7b0e14b21b1bc10
Uncovered code in 'pu' not in 'jch'
--------------------------------------------------------
builtin/cat-file.c
b14ed5ad 529) warning("This repository uses promisor remotes. Some objects may not be loaded.");
builtin/clone.c
fbb4a33c 407) die_errno(_("failed to create directory '%s'"), pathname);
fbb4a33c 409) die_errno(_("failed to stat '%s'"), pathname);
d95432d7 428) die_errno(_("failed to start iterator over '%s'"), src->buf);
d95432d7 466) strbuf_setlen(src, src_len);
d95432d7 467) die(_("failed to iterate over '%s'"), src->buf);
builtin/fetch-pack.c
builtin/pack-objects.c
820a5361 859) BUG("configured exclusion wasn't configured");
820a5361 2794) die(_("value of uploadpack.blobpackfileuri must be "
820a5361 2797) die(_("object already configured in another "
builtin/rebase.c
526c03b5 1272) goto done;
10572de1 1288) goto done;
builtin/remote.c
f39a9c65 1551) die(_("--save-to-push cannot be used with other options"));
f39a9c65 1575) die(_("--save-to-push can only be used when only one url is defined"));
builtin/rev-list.c
cf9ceb5a 476) die(
dir-iterator.c
50e85c40 92) warning_errno("error closing directory '%s'",
655af733 126) warning_errno("failed to stat '%s'", iter->base.path.buf);
655af733 159) goto error_out;
50e85c40 174) warning_errno("error reading directory '%s'",
655af733 176) if (iter->flags & DIR_ITERATOR_PEDANTIC)
655af733 177) goto error_out;
655af733 188) if (errno != ENOENT && iter->flags & DIR_ITERATOR_PEDANTIC)
655af733 189) goto error_out;
c40f077a 216) int saved_errno = errno;
c40f077a 218) errno = saved_errno;
c40f077a 219) warning_errno("error closing directory '%s'",
fetch-pack.c
820a5361 1397) die("expected '<hash> <uri>', got: %s\n", reader->line);
820a5361 1402) die("expected DELIM");
820a5361 1529) die("fetch-pack: unable to spawn http-fetch");
820a5361 1533) die("fetch-pack: expected keep then TAB at start of http-fetch output");
820a5361 1538) die("fetch-pack: expected hash then LF at end of http-fetch output");
820a5361 1545) die("fetch-pack: unable to finish http-fetch");
820a5361 1549) die("fetch-pack: pack downloaded from %s does not match expected hash %.*s",
820a5361 1550) uri, (int) the_hash_algo->hexsz,
820a5361 1551) packfile_uris.items[i].string);
http-fetch.c
http.c
18615216 2304) target ? hash_to_hex(target->hash) : base_url,
list-objects-filter-options.c
f56f7642 44) BUG("filter_options already populated");
f56f7642 236) die(_("multiple filter-specs cannot be combined"));
cf9ceb5a 286) BUG("no filter_spec available for this filter");
e987df5f 321) return;
list-objects-filter.c
e987df5f 585) BUG("expected oidset to be cleared already");
list-objects.c
9430147c 210) ctx->show_object(obj, base->buf, ctx->show_data);
promisor-remote.c
db27dca5 25) die(_("Remote with no URL"));
48de3158 61) warning(_("promisor remote name cannot begin with '/': %s"),
48de3158 63) return NULL;
faf2abf4 93) previous->next = r->next;
4ca9474e 108) return git_config_string(&core_partial_clone_filter_default,
fa3d1b63 139) return 0;
9e27beaa 202) static int remove_fetched_oids(struct repository *repo,
9e27beaa 206) int i, remaining_nr = 0;
9e27beaa 207) int *remaining = xcalloc(oid_nr, sizeof(*remaining));
9e27beaa 208) struct object_id *old_oids = *oids;
9e27beaa 211) for (i = 0; i < oid_nr; i++)
9e27beaa 212) if (oid_object_info_extended(repo, &old_oids[i], NULL,
9e27beaa 214) remaining[i] = 1;
9e27beaa 215) remaining_nr++;
9e27beaa 218) if (remaining_nr) {
9e27beaa 219) int j = 0;
9e27beaa 220) new_oids = xcalloc(remaining_nr, sizeof(*new_oids));
9e27beaa 221) for (i = 0; i < oid_nr; i++)
9e27beaa 222) if (remaining[i])
9e27beaa 223) oidcpy(&new_oids[j++], &old_oids[i]);
9e27beaa 224) *oids = new_oids;
9e27beaa 225) if (to_free)
9e27beaa 226) free(old_oids);
9e27beaa 229) free(remaining);
9e27beaa 231) return remaining_nr;
9e27beaa 248) if (remaining_nr == 1)
9e27beaa 249) continue;
9e27beaa 250) remaining_nr = remove_fetched_oids(repo, &remaining_oids,
9e27beaa 252) if (remaining_nr) {
9e27beaa 253) to_free = 1;
9e27beaa 254) continue;
9e27beaa 262) free(remaining_oids);
protocol.c
remote-curl.c
t/helper/test-dir-iterator.c
655af733 24) die("invalid option '%s'", *argv);
655af733 28) die("dir-iterator needs exactly one non-option argument");
9bd70db7 46) printf("[?] ");
upload-pack.c
a8d662e3 130) return readsz;
820a5361 149) BUG("packfile_uris requires sideband-all");
cf9ceb5a 221) sq_quote_buf(&buf, spec);
a8d662e3 354) send_client_data(1, output_state.buffer, output_state.used);
820a5361 1387) string_list_clear(&data->uri_protocols, 0);
wrapper.c
Commits introducting uncovered code:
Christian Couder b14ed5ad Use promisor_remote_get_direct() and has_promisor_remote()
Christian Couder faf2abf4 promisor-remote: use repository_format_partial_clone
Christian Couder 4ca9474e Move core_partial_clone_filter_default to promisor-remote.c
Christian Couder fa3d1b63 promisor-remote: parse remote.*.partialclonefilter
Christian Couder 9e27beaa promisor-remote: implement promisor_remote_get_direct()
Christian Couder db27dca5 Remove fetch-object.{c,h} in favor of promisor-remote.{c,h}
Christian Couder 48de3158 Add initial support for many promisor remotes
Daniel Ferreira 9bd70db7 dir-iterator: add tests for dir-iterator API
Denton Liu 10572de1 rebase: fast-forward --onto in more cases
Denton Liu 526c03b5 rebase: refactor can_fast_forward into goto tower
Denton Liu f39a9c65 remote: add --save-to-push option to git remote set-url
Jonathan Tan a8d662e3 upload-pack: refactor reading of pack-objects out
Jonathan Tan 820a5361 upload-pack: send part of packfile response as uri
Junio C Hamano 18615216 Merge branch 'jt/fetch-cdn-offload' into pu
Matheus Tavares c40f077a dir-iterator: use warning_errno when possible
Matheus Tavares 655af733 dir-iterator: add flags parameter to dir_iterator_begin
Matheus Tavares 50e85c40 dir-iterator: refactor state machine model
Matheus Tavares d95432d7 clone: use dir-iterator to avoid explicit dir traversal
Matheus Tavares fbb4a33c clone: extract function from copy_or_link_directory
Matthew DeVore f56f7642 list-objects-filter-options: move error check up
Matthew DeVore cf9ceb5a list-objects-filter-options: make filter_spec a string_list
Matthew DeVore 9430147c list-objects-filter: encapsulate filter components
Matthew DeVore e987df5f list-objects-filter: implement composite filters
Uncovered code in 'jch' not in 'next'
--------------------------------------------------------
apply.c
85c3713d 1187) cp = skip_tree_prefix(p_value, second, line + llen - second);
builtin/ls-files.c
272b3f2a 672) die(_("--debug-json cannot be used with other file selection options"));
272b3f2a 674) die(_("--debug-json cannot be used with %s"), "--resolve-undo");
272b3f2a 676) die(_("--debug-json cannot be used with %s"), "--with-tree");
272b3f2a 678) die(_("--debug-json cannot be used with %s"), "--debug");
272b3f2a 701) die("index file corrupt");
cache-tree.c
fd335a21 605) ret = NULL; /* not the whole tree */
dir.c
3b2385cf 2840) static void jw_object_untracked_cache_dir(struct json_writer *jw,
3b2385cf 2845) jw_object_bool(jw, "valid", ucd->valid);
3b2385cf 2846) jw_object_bool(jw, "check-only", ucd->check_only);
3b2385cf 2847) jw_object_stat_data(jw, "stat", &ucd->stat_data);
3b2385cf 2848) jw_object_string(jw, "exclude-oid", oid_to_hex(&ucd->exclude_oid));
3b2385cf 2849) jw_object_inline_begin_array(jw, "untracked");
3b2385cf 2850) for (i = 0; i < ucd->untracked_nr; i++)
3b2385cf 2851) jw_array_string(jw, ucd->untracked[i]);
3b2385cf 2852) jw_end(jw);
3b2385cf 2854) jw_object_inline_begin_object(jw, "dirs");
3b2385cf 2855) for (i = 0; i < ucd->dirs_nr; i++) {
3b2385cf 2856) jw_object_inline_begin_object(jw, ucd->dirs[i]->name);
3b2385cf 2857) jw_object_untracked_cache_dir(jw, ucd->dirs[i]);
3b2385cf 2858) jw_end(jw);
3b2385cf 2860) jw_end(jw);
3b2385cf 2861) }
3b2385cf 2958) jw_object_inline_begin_object(jw, "root");
3b2385cf 2959) jw_object_untracked_cache_dir(jw, uc->root);
3b2385cf 2960) jw_end(jw);
range-diff.c
ab5b0492 33) return size;
ab5b0492 95) strbuf_release(&contents);
04539fc6 117) die(_("could not parse git header '%.*s'"), (int)len, line);
04539fc6 135) patch.old_mode != patch.new_mode)
04539fc6 136) strbuf_addf(&buf, " (mode change %06o => %06o)",
ab5b0492 181) strbuf_addstr(&buf, line);
read-cache.c
8eeabe15 1754) ret = error(_("index uses %.4s extension, which we do not understand"),
ee70c128 1756) if (advice_unknown_index_extension) {
ee70c128 1757) warning(_("ignoring optional %.4s index extension"), ext);
ee70c128 1758) advise(_("This is likely due to the file having been written by a newer\n"
272b3f2a 2028) jw_object_true(jw, "assume_unchanged");
272b3f2a 2032) jw_object_true(jw, "skip_worktree");
272b3f2a 2034) jw_object_intmax(jw, "stage", ce_stage(ce));
f0f544da 2311) ieot = read_ieot_extension(istate, mmap, mmap_size, extension_offset);
f0f544da 3653) static struct index_entry_offset_table *read_ieot_extension(
f0f544da 3675) return do_read_ieot_extension(istate, index, extsize);
repo-settings.c
bbd04cf0 20) UPDATE_DEFAULT(rs->pack_use_sparse, 1);
split-index.c
1f825794 29) goto done;
Commits introducting uncovered code:
Derrick Stolee bbd04cf0 repo-settings: pack.useSparse=true
Jonathan Nieder ee70c128 index: offer advice for unknown index extensions
Nguyễn Thái Ngọc Duy 272b3f2a ls-files: add --json to dump the index
Nguyễn Thái Ngọc Duy fd335a21 cache-tree.c: dump "TREE" extension as json
Nguyễn Thái Ngọc Duy 3b2385cf dir.c: dump "UNTR" extension as json
Nguyễn Thái Ngọc Duy 8eeabe15 read-cache.c: dump common extension info in json
Nguyễn Thái Ngọc Duy f0f544da read-cache.c: dump "IEOT" extension as json
Nguyễn Thái Ngọc Duy 1f825794 split-index.c: dump "link" extension as json
Thomas Gummerer 85c3713d apply: only pass required data to git_header_name
Thomas Gummerer ab5b0492 range-diff: split lines manually
Thomas Gummerer 04539fc6 range-diff: add section header instead of diff header
Uncovered code in 'next' not in 'master'
--------------------------------------------------------
archive.c
50ddb089 421) err = get_tree_entry(ar_args->repo,
50ddb089 422) &tree->object.oid,
blame.c
1fc73384 990) return;
a07a9776 1599) continue;
ae3f36de 2416) continue;
builtin/blame.c
builtin/commit-graph.c
c2bc6e6a 203) return 1;
builtin/env--helper.c
b4f207f3 23) die(_("unrecognized --type argument, %s"), arg);
b4f207f3 67) default_int = 0;
b4f207f3 82) default_ulong = 0;
b4f207f3 90) BUG("unknown <type> value");
builtin/multi-pack-index.c
builtin/rebase.c
906b6394 1801) die(_("--reschedule-failed-exec requires "
commit-graph.c
118bd570 277) chunk_repeated = 1;
118bd570 347) warning(_("commit-graph has no base graphs chunk"));
118bd570 348) return 0;
5c84b339 401) break;
d4f4d60f 550) BUG("NULL commit-graph");
d4f4d60f 553) die(_("invalid commit position. commit-graph is likely corrupt"));
d4f4d60f 613) die(_("invalid commit position. commit-graph is likely corrupt"));
6c622f9f 1057) continue;
6c622f9f 1331) error(_("failed to write correct number of base graph ids"));
6c622f9f 1332) return -1;
6c622f9f 1376) error(_("unable to create '%s'"), ctx->graph_name);
6c622f9f 1377) return -1;
6c622f9f 1451) return -1;
6c622f9f 1477) error(_("unable to open commit-graph chain file"));
6c622f9f 1478) return -1;
135a7123 1489) error(_("failed to rename base commit-graph file"));
6c622f9f 1509) error(_("failed to rename temporary commit-graph file"));
6c622f9f 1510) return -1;
c523035c 1539) break;
c523035c 1554) ctx->num_commit_graphs_after = 1;
c523035c 1555) ctx->new_base_graph = NULL;
1771be90 1631) die(_("unexpected duplicate commit id %s"),
1771be90 1632) oid_to_hex(&ctx->commits.list[i]->object.oid));
c2bc6e6a 1806) ctx->oids.alloc = split_opts->max_commits;
config.c
2e43cd4c 998) value, name, cf->name, _(error_type));
2e43cd4c 1007) value, name, cf->name, _(error_type));
2e43cd4c 1010) value, name, cf->name, _(error_type));
2e43cd4c 1013) value, name, cf->name, _(error_type));
fast-import.c
d3b4705a 2565) char *buf = read_object_with_reference(the_repository,
d3b4705a 2566) &n->oid,
match-trees.c
90d34051 294) if (get_tree_entry(r, hash2, del_prefix, shifted, &mode))
midx.c
d01bf2e6 478) close_pack(packs->info[packs->nr].p);
d01bf2e6 479) FREE_AND_NULL(packs->info[packs->nr].p);
19575c7c 738) BUG("object %s is in an expired pack with int-id %d",
19575c7c 865) error(_("did not see pack-file %s to drop"),
19575c7c 867) drop_index++;
19575c7c 868) missing_drops++;
19575c7c 869) i--;
19575c7c 876) result = 1;
19575c7c 877) goto cleanup;
19575c7c 1194) return 0;
19575c7c 1209) continue;
ce1e4a10 1248) return 0;
ce1e4a10 1275) continue;
ce1e4a10 1295) continue;
ce1e4a10 1297) continue;
ce1e4a10 1329) return 0;
ce1e4a10 1350) error(_("could not start pack-objects"));
ce1e4a10 1351) result = 1;
ce1e4a10 1352) goto cleanup;
ce1e4a10 1369) error(_("could not finish pack-objects"));
ce1e4a10 1370) result = 1;
ce1e4a10 1371) goto cleanup;
oidset.c
packfile.c
8434e85d 372) strbuf_release(&buf);
8434e85d 373) return;
ref-filter.c
b31e2680 1967) break;
sequencer.c
ed5b1ca1 2198) (*bol == ' ' || *bol == '\t'))
ed5b1ca1 2201) ret = -1;
6a1f9046 2668) in_progress_error = _("revert is already in progress");
6a1f9046 2669) in_progress_advice =
6a1f9046 2671) break;
6a1f9046 2678) BUG("unexpected action in create_seq_dir");
de81ca3f 2777) return error(_("cannot resolve HEAD"));
de81ca3f 2860) if (!rollback_is_safe())
de81ca3f 2861) goto give_advice;
de81ca3f 2873) BUG("unexpected action in sequencer_skip");
de81ca3f 2877) return error(_("failed to skip the commit"));
sha1-file.c
709dfa69 784) return;
709dfa69 792) warning(_("invalid line while parsing alternate refs: %s"),
709dfa69 794) break;
709dfa69 817) goto out;
709dfa69 819) goto out;
709dfa69 825) goto out;
strbuf.c
8f354a1f 818) strbuf_addf(buf,
8f354a1f 850) Q_("%u byte/s", "%u bytes/s", (unsigned)bytes),
t/helper/test-match-trees.c
90d34051 23) shift_tree(the_repository, &one->object.oid, &two->object.oid, &shifted, -1);
Commits introducting uncovered code:
Ævar Arnfjörð Bjarmason 2e43cd4c config.c: refactor die_bad_number() to not call gettext() early
Ævar Arnfjörð Bjarmason b4f207f3 env--helper: new undocumented builtin wrapping git_env_*()
Barret Rhoden ae3f36de blame: add the ability to ignore commits and their changes
Barret Rhoden 1fc73384 blame: optionally track line fingerprints during fill_blame_origin()
Barret Rhoden a07a9776 blame: use the fingerprint heuristic to match ignored lines
Derrick Stolee c2bc6e6a commit-graph: create options for split files
Derrick Stolee ce1e4a10 midx: implement midx_repack()
Derrick Stolee 19575c7c multi-pack-index: implement 'expire' subcommand
Derrick Stolee d01bf2e6 midx: refactor permutation logic and pack sorting
Derrick Stolee 1771be90 commit-graph: merge commit-graph chains
Derrick Stolee c523035c commit-graph: allow cross-alternate chains
Derrick Stolee 135a7123 commit-graph: add --split option to builtin
Derrick Stolee 6c622f9f commit-graph: write commit-graph chains
Derrick Stolee d4f4d60f commit-graph: prepare for commit-graph chains
Derrick Stolee 5c84b339 commit-graph: load commit-graph chains
Derrick Stolee 118bd570 commit-graph: add base graphs chunk
Derrick Stolee 8434e85d repack: refactor pack deletion for future use
Dimitriy Ryazantcev 8f354a1f l10n: localizable upload progress messages
Jeff King 709dfa69 object-store.h: move for_each_alternate_ref() from transport.h
Johannes Schindelin 906b6394 rebase --am: ignore rebase.rescheduleFailedExec
Nguyễn Thái Ngọc Duy 90d34051 match-trees.c: remove the_repo from shift_tree*()
Nguyễn Thái Ngọc Duy d3b4705a sha1-file.c: remove the_repo from read_object_with_reference()
Nguyễn Thái Ngọc Duy 50ddb089 tree-walk.c: remove the_repo from get_tree_entry()
Phillip Wood ed5b1ca1 status: do not report errors in sequencer/todo
Rohit Ashiwal 6a1f9046 sequencer: add advice for revert
Rohit Ashiwal de81ca3f cherry-pick/revert: add --skip option
Taylor Blau b31e2680 ref-filter.c: find disjoint pattern prefixes
Uncovered code in 'master' not in 'master@{1}'
--------------------------------------------------------
builtin/branch.c
1fde99cf 841) die(_("The -a, and -r, options to 'git branch' do not take a branch name.\n"
builtin/checkout.c
d16dc428 1345) warning(_("you are switching branch while bisecting"));
3ec37ad1 1370) die(_("'%s' cannot be used with '%s'"), "--discard-changes", "--merge");
c9c935f6 1508) BUG("make up your mind, you need to take _something_");
183fb44f 1540) opts->checkout_index = 0;
183fb44f 1550) BUG("these flags should be non-negative by now");
c9c935f6 1611) die(_("could not resolve %s"), opts->from_treeish);
builtin/commit.c
e103f727 1691) return 1;
builtin/fetch.c
cdbd70c4 88) fetch_show_forced_updates = git_config_bool(k, v);
cdbd70c4 89) return 0;
377444b4 1011) warning(_("It took %.2f seconds to check forced updates. You can use '--no-show-forced-updates'\n"),
377444b4 1013) warning(_("or run 'git config fetch.showForcedUpdates false' to avoid this check.\n"));
builtin/gc.c
e103f727 691) return 1;
builtin/pull.c
3883c551 556) argv_array_push(&args, "--show-forced-updates");
3883c551 558) argv_array_push(&args, "--no-show-forced-updates");
builtin/rebase.c
d559f502 759) ret = error(_("could not remove '%s'"),
d559f502 1648) error(_("could not remove '%s'"),
commit-graph.c
ef5b83f2 906) error(_("error opening index for %s"), packname.buf);
ef5b83f2 907) return -1;
4c9efe85 946) continue;
b2c83060 969) display_progress(ctx->progress, ctx->approx_nr_objects);
238def57 1039) error(_("unable to create leading directories of %s"),
238def57 1041) return -1;
e103f727 1158) error(_("the commit graph format cannot write %d commits"), count_distinct);
e103f727 1159) res = -1;
e103f727 1160) goto cleanup;
e103f727 1169) error(_("too many commits to write graph"));
e103f727 1170) res = -1;
e103f727 1171) goto cleanup;
config.c
07b2c0ea 283) return 0;
delta-islands.c
bdbdf42f 467) fprintf(stderr, _("Marked %d islands, done.\n"), island_counter);
fetch-pack.c
5a88583b 914) else if (args->depth > 0 || is_repository_shallow(the_repository))
0778b293 928) print_verbose(args, _("Server supports %s"), "multi_ack");
0778b293 936) print_verbose(args, _("Server supports %s"), "side-band");
5a88583b 974) } else if (args->deepen_since)
5a88583b 979) } else if (args->deepen_not)
5a88583b 983) else if (args->deepen_relative)
kwset.c
08e04506 45) BUG("Cannot allocate a negative amount: %ld", size);
name-hash.c
568a05c5 348) assert(begin >= 0);
568a05c5 350) int mid = begin + ((end - begin) >> 1);
pack-bitmap-write.c
05805d74 378) static struct ewah_bitmap *find_reused_bitmap(const struct object_id *oid)
d2bc62b1 385) hash_pos = kh_get_oid_map(writer.reused, *oid);
05805d74 425) reused_bitmap = find_reused_bitmap(&chosen->object.oid);
05805d74 432) reused_bitmap = find_reused_bitmap(&cm->object.oid);
packfile.c
921d49be 1275) COPY_ARRAY(poi_stack, small_poi_stack, poi_stack_nr);
921d49be 1685) COPY_ARRAY(delta_stack, small_delta_stack,
pager.c
cd1096b2 197) fputs("\r\033[K", stderr);
progress.c
5b12e312 121) fprintf(stderr, " %s%s", counters_sb->buf,
5b12e312 127) fprintf(stderr, "%s:\n %s%s",
ref-filter.c
2582083f 93) keydata_aka_refname ? keydata_aka_refname : k->wt->head_ref);
28438e84 1500) strbuf_addstr(&desc, _("no branch"));
sequencer.c
37e9ee5c 293) ret = -1;
37e9ee5c 311) ret = error(_("could not remove '%s'"), buf.buf);
sh-i18n--envsubst.c
568a05c5 252) size_t j = j1 + ((j2 - j1) >> 1);
upload-pack.c
62b89d43 534) if (parse_oid_hex(namebuf, &oid, &p) || *p != '\n')
d0229abd 537) o = lookup_object(the_repository, &oid);
wt-status.c
0a53561a 1118) strbuf_addf(&sb, _("\n"
Commits introducting uncovered code:
Denton Liu 07b2c0ea config: learn the "onbranch:" includeIf condition
Derrick Stolee ef5b83f2 commit-graph: extract fill_oids_from_packs()
Derrick Stolee e103f727 commit-graph: return with errors during write
Derrick Stolee cdbd70c4 fetch: add --[no-]show-forced-updates argument
Derrick Stolee 377444b4 fetch: warn about forced updates in branch listing
Derrick Stolee 3883c551 pull: add --[no-]show-forced-updates passthrough
Derrick Stolee 238def57 commit-graph: extract write_commit_graph_file()
Derrick Stolee 4c9efe85 commit-graph: extract fill_oids_from_commit_hex()
Derrick Stolee b2c83060 commit-graph: extract fill_oids_from_all_packs()
Jeff Hostetler 0a53561a status: warn when a/b calculation takes too long
Jeff King 62b89d43 upload-pack: rename a "sha1" variable to "oid"
Jeff King d0229abd object: convert lookup_object() to use object_id
Jeff King bdbdf42f delta-islands: respect progress flag
Jeff King d2bc62b1 pack-bitmap: convert khash_sha1 maps into kh_oid_map
Jeff King 05805d74 pack-bitmap-write: convert some helpers to use object_id
Johannes Schindelin 08e04506 kwset: allow building with GCC 8
Matthew DeVore 28438e84 ref-filter: sort detached HEAD lines firstly
Nguyễn Thái Ngọc Duy 0778b293 fetch-pack: move capability names out of i18n strings
Nguyễn Thái Ngọc Duy 5a88583b fetch-pack: print all relevant supported capabilities with -v -v
Nguyễn Thái Ngọc Duy 183fb44f restore: add --worktree and --staged
Nguyễn Thái Ngọc Duy c9c935f6 restore: take tree-ish from --source option instead
Nguyễn Thái Ngọc Duy 3ec37ad1 switch: add --discard-changes
Nguyễn Thái Ngọc Duy d16dc428 switch: allow to switch in the middle of bisect
Nickolai Belakovski 2582083f ref-filter: add worktreepath atom
Philip Oakley 1fde99cf doc branch: provide examples for listing remote tracking branches
Phillip Wood 37e9ee5c sequencer: return errors from sequencer_remove_state()
Phillip Wood d559f502 rebase --abort/--quit: cleanup refs/rewritten
René Scharfe 568a05c5 cleanup: fix possible overflow errors in binary search, part 2
René Scharfe 921d49be use COPY_ARRAY for copying arrays
SZEDER Gábor cd1096b2 pager: add a helper function to clear the last line in the terminal
SZEDER Gábor 5b12e312 progress: use term_clear_line()
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Git Test Coverage Report (Wed. July 10)
2019-07-11 2:13 ` Derrick Stolee
@ 2019-07-11 21:07 ` Philip Oakley
0 siblings, 0 replies; 3+ messages in thread
From: Philip Oakley @ 2019-07-11 21:07 UTC (permalink / raw)
To: Derrick Stolee, GIT Mailing-list
On 11/07/2019 03:13, Derrick Stolee wrote:
> I apologize for the incorrect report sent earlier. I changed something about my workflow, and it changed where build outputs were downloaded and I included an old report.
>
> -Stolee
>
> ---
>
> pu c984b65d414a0da7af629eb476f12b27e13ede0b
> jch 2bb3fc833ce3b23a27fdaba73982b617ba480bb7
> next f5cf68d754516a24d6a948b93daa5343b6152217
> master 6d5b26420848ec3bc7eae46a7ffa54f20276249d
> master@{1} 8dca754b1e874719a732bc9ab7b0e14b21b1bc10
>
[snip]
>
> Uncovered code in 'master' not in 'master@{1}'
> --------------------------------------------------------
>
> builtin/branch.c
> 1fde99cf 841) die(_("The -a, and -r, options to 'git branch' do not take a branch name.\n"
>
[snip]
>
> Commits introducting uncovered code:
> ...
> Philip Oakley 1fde99cf doc branch: provide examples for listing remote tracking branches
>
Hi Stolee,
Back at [1] (8 Jun 2019) I suggested a possible test that could cover
this update to the message.
The main doc changes went through following [2] (14 Jun 2019) after
confirming that the original RFC note on my patches was just for the
die() message change (which then begat this test coverage omission).
However there are a large number (34) of other die() messages in
branch.c, so it may not be worth a special effort to catch all of them.
I'm minded to let it drop.
Philip
[1]
https://public-inbox.org/git/f28dd5b1-fda8-cf51-5582-067a7d2c2472@iee.org/
[2]
https://public-inbox.org/git/024373d9-e032-1af8-ba26-439ad5620bf5@iee.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-07-11 21:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11 1:47 Git Test Coverage Report (Wed. July 10) Derrick Stolee
2019-07-11 2:13 ` Derrick Stolee
2019-07-11 21:07 ` Philip Oakley
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).