summaryrefslogtreecommitdiff
path: root/builtin/log.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-05-21 04:45:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-05-21 18:04:10 (GMT)
commit8770e6fbb28dffdf9e00d05365120e438d3d236f (patch)
tree52ccef47c493627d37ecca02815ff567c9863a2c /builtin/log.c
parentda66b2743cf7244e52c4b9d91646b782cd4f7eeb (diff)
downloadgit-8770e6fbb28dffdf9e00d05365120e438d3d236f.zip
git-8770e6fbb28dffdf9e00d05365120e438d3d236f.tar.gz
git-8770e6fbb28dffdf9e00d05365120e438d3d236f.tar.bz2
remote.c: hoist read_config into remote_get_1
Before the previous commit, we had to make sure that read_config() was called before entering remote_get_1, because we needed to pass pushremote_name by value. But now that we pass a function, we can let remote_get_1 handle loading the config itself, turning our wrappers into true one-liners. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
0 files changed, 0 insertions, 0 deletions