Re: [PATCH v3 0/1] contrib: Add script to show uncovered "new" lines
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Sep 21, 2018, 15:20 UTC
- Message-ID
- <ee607ff3-b13e-b034-f0cc-03ee458e187e@gmail.com>
- In-Reply-To
- <pull.40.v3.git.gitgitgadget@gmail.com>
On 9/21/2018 11:15 AM, Derrick Stolee via GitGitGadget wrote:
Show 30 quoted lines
> For example, I ran this against the 'next' branch (22e244b)
> versus 'master' (150f307) and got the following output:
>
> fsck.c
> fb8952077df (René Scharfe 2018-09-03 14:49:26 +0000 212) die_errno("Could not read '%s'", path);
> list-objects-filter-options.c
> f12b8fc6d3b (Matthew DeVore 2018-09-13 17:55:27 -0700 56) if (errbuf) {
> f12b8fc6d3b (Matthew DeVore 2018-09-13 17:55:27 -0700 57) strbuf_init(errbuf, 0);
> f12b8fc6d3b (Matthew DeVore 2018-09-13 17:55:27 -0700 58) strbuf_addstr(
> f12b8fc6d3b (Matthew DeVore 2018-09-13 17:55:27 -0700 62) return 1;
> list-objects-filter.c
> 77d7a65d502 (Matthew DeVore 2018-09-13 17:55:26 -0700 47) BUG("unknown filter_situation: %d", filter_situation);
> f12b8fc6d3b (Matthew DeVore 2018-09-13 17:55:27 -0700 100) default:
> f12b8fc6d3b (Matthew DeVore 2018-09-13 17:55:27 -0700 101) BUG("unknown filter_situation: %d", filter_situation);
> 77d7a65d502 (Matthew DeVore 2018-09-13 17:55:26 -0700 152) BUG("unknown filter_situation: %d", filter_situation);
> 77d7a65d502 (Matthew DeVore 2018-09-13 17:55:26 -0700 257) BUG("unknown filter_situation: %d", filter_situation);
> 77d7a65d502 (Matthew DeVore 2018-09-13 17:55:26 -0700 438) BUG("invalid list-objects filter choice: %d",
> list-objects.c
> f447a499dbb (Matthew DeVore 2018-08-13 11:14:28 -0700 197) ctx->show_object(obj, base->buf, ctx->show_data);
> ll-merge.c
> d64324cb60e (Torsten Bögershausen 2018-09-12 21:32:02 +0200 379) marker_size = DEFAULT_CONFLICT_MARKER_SIZE;
> midx.c
> 56ee7ff1565 (Derrick Stolee 2018-09-13 11:02:13 -0700 949) return 0;
> cc6af73c029 (Derrick Stolee 2018-09-13 11:02:25 -0700 990) midx_report(_("failed to load pack-index for packfile %s"),
> cc6af73c029 (Derrick Stolee 2018-09-13 11:02:25 -0700 991) e.p->pack_name);
> cc6af73c029 (Derrick Stolee 2018-09-13 11:02:25 -0700 992) break;
> remote-curl.c
> c3b9bc94b9b (Elijah Newren 2018-09-05 10:03:07 -0700 181) options.filter = xstrdup(value);
> submodule.c
> df255b8cac7 (Brandon Williams 2018-08-08 15:33:22 -0700 1738) die(_("could not create directory '%s'"), new_gitdir.buf);I updated this output, but then forgot that I had a "commentary" of the old diff below it. Please ignore that portion of the cover letter.
-Stolee