diff options
author | Johan Herland <johan@herland.net> | 2014-11-09 13:30:50 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-10 12:08:21 -0800 |
commit | 4282af0fc91e7a2667f8cba7282a5b70347f6e6f (patch) | |
tree | f89d44d6de2dba2b9203324b48fadd274bb0fc00 /preload-index.c | |
parent | builtin/notes: improve naming (diff) | |
download | tgif-4282af0fc91e7a2667f8cba7282a5b70347f6e6f.tar.xz |
builtin/notes: refactor note file path into struct note_data
Move the 'path' variable from create_note() and into the
note_data struct. Unify cleanup of note_data objects with
a free_note_data() function.
This might not make too much sense on its own, but it makes the
future refactoring of create_note() considerably cleaner.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'preload-index.c')
0 files changed, 0 insertions, 0 deletions