diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-04-12 19:15:17 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-05-11 12:47:31 +0900 |
| commit | 102fdd2e07f72919060224b3eb3560524d6cf1f9 (patch) | |
| tree | 6afbd94b4d65eb98a1f778aada0f6a4dac096538 /commit.c | |
| parent | diff.h: move pickaxe fields together again (diff) | |
| download | git-102fdd2e07f72919060224b3eb3560524d6cf1f9.tar.gz git-102fdd2e07f72919060224b3eb3560524d6cf1f9.zip | |
pickaxe/style: consolidate declarations and assignments
Refactor contains() to do its assignments at the same time that it
does its declarations.
This code could have been refactored in ef90ab66e8e (pickaxe: use
textconv for -S counting, 2012-10-28) when a function call between the
declarations and assignments was removed.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
