diff options
| author | Junio C Hamano <gitster@pobox.com> | 2021-05-07 12:47:39 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-05-07 12:47:39 +0900 |
| commit | c108c8c2f2ff00b1b545ddb638bdfc40319dfa34 (patch) | |
| tree | 89e56bf7f83794a8e172998e8ea34929c6993a69 /ref-filter.h | |
| parent | bb2feec17f49e93e0b983c5d895b2bf590ff92f3 (diff) | |
| parent | 844c3f0b0b5cc45f8aa8bd65c7ad407df7301c39 (diff) | |
| download | git-c108c8c2f2ff00b1b545ddb638bdfc40319dfa34.tar.xz | |
Merge branch 'zh/format-ref-array-optim'
"git (branch|tag) --format=..." has been micro-optimized.
* zh/format-ref-array-optim:
ref-filter: reuse output buffer
ref-filter: get rid of show_ref_array_item
Diffstat (limited to 'ref-filter.h')
| -rw-r--r-- | ref-filter.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ref-filter.h b/ref-filter.h index 19ea4c4134..baf72a7189 100644 --- a/ref-filter.h +++ b/ref-filter.h @@ -119,8 +119,6 @@ int format_ref_array_item(struct ref_array_item *info, const struct ref_format *format, struct strbuf *final_buf, struct strbuf *error_buf); -/* Print the ref using the given format and quote_style */ -void show_ref_array_item(struct ref_array_item *info, const struct ref_format *format); /* Parse a single sort specifier and add it to the list */ void parse_ref_sorting(struct ref_sorting **sorting_tail, const char *atom); /* Callback function for parsing the sort option */ |
