summaryrefslogtreecommitdiff
path: root/tree-diff.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2017-05-30 10:30:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-02 09:36:06 +0900
commit9ef7223058a44990dc4650ecb1209c97ceb636b3 (patch)
treee3aa8240bac2be6a2bf5ad158023ec31a67d3457 /tree-diff.c
parentnotes: convert for_each_note to struct object_id (diff)
downloadtgif-9ef7223058a44990dc4650ecb1209c97ceb636b3.tar.xz
notes: make get_note return pointer to struct object_id
Make get_note return a pointer to a const struct object_id. Add a defensive check to ensure we don't accidentally dereference a NULL pointer. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions