summaryrefslogtreecommitdiff
path: root/builtin/hash-object.c
diff options
context:
space:
mode:
authorLibravatar Olga Telezhnaya <olyatelezhnaya@gmail.com>2018-07-17 08:22:57 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-17 15:04:27 -0700
commit20a9c156198bf195b7d32ef9a73ba01b8b19f52c (patch)
tree5d6ff684469bd0220ecb204096515ad7a4157d05 /builtin/hash-object.c
parentref-filter: add info_source to valid_atom (diff)
downloadtgif-20a9c156198bf195b7d32ef9a73ba01b8b19f52c.tar.xz
ref-filter: fill empty fields with empty values
Atoms like "align" or "end" do not have string representation. Earlier we had to go and parse whole object with a hope that we could fill their string representations. It's easier to fill them with an empty string before we start to work with whole object. It is important to mention that we fill only these atoms that must contain nothing. So, if we could not fill the atom because, for example, the object is missing, we leave it with NULL. Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/hash-object.c')
0 files changed, 0 insertions, 0 deletions