summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--pretty_--stat_initial
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2019-08-13 14:26:46 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-13 12:31:04 -0700
commit2675ea1cc0f5d542d9bde4e8a458ac726bf30f63 (patch)
treea12275d62c5a402c67db283665509e858f540ac9 /t/t4013/diff.diff-tree_--pretty_--stat_initial
parentcompletion: deduplicate configuration sections (diff)
downloadtgif-2675ea1cc0f5d542d9bde4e8a458ac726bf30f63.tar.xz
completion: use 'sort -u' to deduplicate config variable names
The completion script runs the classic '| sort | uniq' pipeline to deduplicate the output of 'git help --config-for-completion'. 'sort -u' does the same, but uses one less external process and pipeline stage. Not a bit win, as it's only run once as the list of supported configuration variables is initialized, but at least it sets a better example for others to follow. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_--stat_initial')
0 files changed, 0 insertions, 0 deletions