summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2017-03-10 00:12:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-12 05:28:22 (GMT)
commitdfa3ad32386f95ae954d65163152f8130e3586a3 (patch)
tree4c64546b53b235232be5c5cd293a59559165cce8 /revision.c
parentc3808ca6982b0ad7ee9b87eca9b50b9a24ec08b0 (diff)
downloadgit-dfa3ad32386f95ae954d65163152f8130e3586a3.zip
git-dfa3ad32386f95ae954d65163152f8130e3586a3.tar.gz
git-dfa3ad32386f95ae954d65163152f8130e3586a3.tar.bz2
blame: move blame_entry duplication to add_blame_entry()
All callers of add_blame_entry() allocate and copy the second argument. Let the function do it for them, reducing code duplication. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
0 files changed, 0 insertions, 0 deletions