summaryrefslogtreecommitdiffstats
path: root/line-range.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-07-24 06:40:43 +0200
committerJunio C Hamano <gitster@pobox.com>2014-07-24 22:57:49 +0200
commitd51428bf17e9f17071836350299e256cac2d503a (patch)
tree0ad14960c445738afa912721463bf5f9a42220ea /line-range.c
parentGit 2.0 (diff)
downloadgit-d51428bf17e9f17071836350299e256cac2d503a.tar.xz
git-d51428bf17e9f17071836350299e256cac2d503a.zip
receive-pack: don't copy "dir" parameter
We used to do this so could pass a mutable string to enter_repo. But since 1c64b48 (enter_repo: do not modify input, 2011-10-04), this is not necessary. The resulting code is simpler, and it fixes a minor leak. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-range.c')
0 files changed, 0 insertions, 0 deletions