diff options
author | Johan Herland <johan@herland.net> | 2014-11-09 13:30:49 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-10 12:08:21 -0800 |
commit | bebf5c04767b3c67dadfa8b65e6f0ceb258f6b83 (patch) | |
tree | 239e6e6f63245c82c3caaf5b2f58f72ef7a98765 /cache-tree.c | |
parent | t3301: verify that 'git notes' removes empty notes by default (diff) | |
download | tgif-bebf5c04767b3c67dadfa8b65e6f0ceb258f6b83.tar.xz |
builtin/notes: improve naming
In preparation for some needed refactoring, rename struct msg_arg to
struct note_data, and rename its instances from "msg" to "d" (also
removing some unnecessary parentheses). The 'msg_arg' name was
inherited from tag.c, but is not really a good name for the contents
of a note.
Also rename write_note_data() to copy_obj_to_fd(), which more aptly
describes what it actually does: Copying the contents of a git object
(given by its SHA1) into a given file descriptor.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions