diff options
author | Jeff King <peff@peff.net> | 2014-06-10 17:41:51 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-13 12:08:17 -0700 |
commit | bc6b8fc1300ef79c4b4c3c2a79bb3c1e2e032963 (patch) | |
tree | 1ba0e495b205f5ad222b426b848a7bae5cf8b265 /t/t4018/perl-skip-forward-decl | |
parent | convert logmsg_reencode to get_commit_buffer (diff) | |
download | tgif-bc6b8fc1300ef79c4b4c3c2a79bb3c1e2e032963.tar.xz |
use get_commit_buffer everywhere
Each of these sites assumes that commit->buffer is valid.
Since they would segfault if this was not the case, they are
likely to be correct in practice. However, we can
future-proof them by using get_commit_buffer.
And as a side effect, we abstract away the final bare uses
of commit->buffer.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/perl-skip-forward-decl')
0 files changed, 0 insertions, 0 deletions