summaryrefslogtreecommitdiff
path: root/send-pack.h
diff options
context:
space:
mode:
authorLibravatar Pranit Bauva <pranit.bauva@gmail.com>2016-05-25 00:49:50 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-09 10:03:10 -0700
commite51b0dfc978649b9f0e3a594030810cc472a8b08 (patch)
treee62c9e91ae6fa9bfed42b9bd49e397927eb9fe30 /send-pack.h
parentGit 2.9-rc2 (diff)
downloadtgif-e51b0dfc978649b9f0e3a594030810cc472a8b08.tar.xz
builtin/commit.c: memoize git-path for COMMIT_EDITMSG
This is a follow up commit for f932729c (memoize common git-path "constant" files, 10-Aug-2015). The many function calls to git_path() are replaced by git_path_commit_editmsg() and which thus eliminates the need to repeatedly compute the location of "COMMIT_EDITMSG". Mentored-by: Lars Schneider <larsxschneider@gmail.com> Mentored-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'send-pack.h')
0 files changed, 0 insertions, 0 deletions