summaryrefslogtreecommitdiff
path: root/builtin/cat-file.c
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2014-11-09 12:30:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-11-10 20:08:21 (GMT)
commit4282af0fc91e7a2667f8cba7282a5b70347f6e6f (patch)
treef89d44d6de2dba2b9203324b48fadd274bb0fc00 /builtin/cat-file.c
parentbebf5c04767b3c67dadfa8b65e6f0ceb258f6b83 (diff)
downloadgit-4282af0fc91e7a2667f8cba7282a5b70347f6e6f.zip
git-4282af0fc91e7a2667f8cba7282a5b70347f6e6f.tar.gz
git-4282af0fc91e7a2667f8cba7282a5b70347f6e6f.tar.bz2
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 'builtin/cat-file.c')
0 files changed, 0 insertions, 0 deletions