diff options
author | Olga Telezhnaya <olyatelezhnaya@gmail.com> | 2018-12-24 13:24:30 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-28 10:08:11 -0800 |
commit | 33311fa1ade8ca955f0e56e521f7d759d30a3da0 (patch) | |
tree | 91618846004a3a3e954e5d62876ab5019971cebe /t/helper/test-tool.h | |
parent | ref-filter: add tests for objectsize:disk (diff) | |
download | tgif-33311fa1ade8ca955f0e56e521f7d759d30a3da0.tar.xz |
ref-filter: add deltabase option
Add new formatting option: deltabase.
If the object is stored as a delta on-disk, this expands
to the 40-hex sha1 of the delta base object.
Otherwise, expands to the null sha1 (40 zeroes).
We have same option in cat-file command.
Hopefully, in the end I will remove formatting code from
cat-file and reuse formatting parts from ref-filter.
Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-tool.h')
0 files changed, 0 insertions, 0 deletions