aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https/proxy.go
diff options
context:
space:
mode:
authorThomas Gummerer <t.gummerer@gmail.com>2016-02-16 10:47:50 +0100
committerJunio C Hamano <gitster@pobox.com>2016-02-16 13:33:12 -0800
commit674468b3642abfff7c61d5ff95fffc43b87f70b7 (patch)
treebf6ab75ebd17f9588b52673007ff1b15f19bf65d /contrib/persistent-https/proxy.go
parentremote: use parse_config_key (diff)
downloadgit-674468b3642abfff7c61d5ff95fffc43b87f70b7.tar.gz
git-674468b3642abfff7c61d5ff95fffc43b87f70b7.zip
remote: simplify remote_is_configured()
The remote_is_configured() function allows checking whether a remote exists or not. The function however only works if remote_get() wasn't called before calling it. In addition, it only checks the configuration for remotes, but not remotes or branches files. Make use of the origin member of struct remote instead, which indicates where the remote comes from. It will be set to some value if the remote is configured in any file in the repository, but is initialized to 0 if the remote is only created in make_remote(). Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/proxy.go')
0 files changed, 0 insertions, 0 deletions
dia: mtk-vcodec: venc: remove redundant codeAlexandre Courbot1-12/+4 2021-06-17media: v4l2-subdev: add subdev-wide state structTomi Valkeinen166-1803/+2163 2021-06-17media: venus: hfi_msgs.h: Replace one-element arrays with flexible-array membersGustavo A. R. Silva2-10/+12 2021-06-17media: venus: hfi_cmds: Fix packet size calculationGustavo A. R. Silva1-4/+5 2021-06-17media: xilinx: simplify get fourcc logicMauro Carvalho Chehab2-7/+4 2021-06-17media: dvb-core: frontend: make GET/SET saferMauro Carvalho Chehab1-105/+117 2021-06-17media: ttusb-dec: cleanup an error handling logicMauro Carvalho Chehab1-13/+10 2021-06-17media: siano: fix device register error pathMauro Carvalho Chehab1-0/+4 2021-06-17media: saa7134: fix saa7134_initdev error handling logicMauro Carvalho Chehab1-1/+4 2021-06-17media: saa7134: use more meaninful goto labelsMauro Carvalho Chehab1-17/+17 2021-06-17media: sun6i-csi: add a missing return codeMauro Carvalho Chehab1-1/+3 2021-06-17media: dvbdev: fix error logic at dvb_register_device()Mauro Carvalho Chehab1-0/+3 2021-06-17media: dvb_net: avoid speculation from net slotMauro Carvalho Chehab1-6/+19 2021-06-17media: dvb_ca_en50221: avoid speculation from CA slotMauro Carvalho Chehab1-0/+1 2021-06-16media: admin-guide: avoid using ReST :doc:`foo` markupMauro Carvalho Chehab3-18/+21 2021-06-16media: driver-api: drivers: avoid using ReST :doc:`foo` markupMauro Carvalho Chehab1-1/+1 2021-06-16media: userspace-api: avoid using ReST :doc:`foo` markupMauro Carvalho Chehab1-1/+1 2021-06-16media: docs: */media/index.rst: don't use ReST doc:`foo`Mauro Carvalho Chehab3-14/+20 2021-06-11media: uvcvideo: Fix pixel format change for Elgato Cam Link 4KBenjamin Drung1-0/+27 2021-06-09media: dmxdev: change the check for problems allocing secfeedMauro Carvalho Chehab1-1/+1 2021-06-08media: hantro: IMX8M: add variant for G2/HEVC codecBenjamin Gaignard3-2/+96 2021-06-08media: hantro: Introduce G2/HEVC decoderBenjamin Gaignard7-0/+1208 2021-06-08media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE controlBenjamin Gaignard1-0/+1 2021-06-08media: uapi: Add a control for HANTRO driverBenjamin Gaignard3-0/+33 2021-06-08media: hantro: Only use postproc when post processed formats are definedBenjamin Gaignard3-7/+19 2021-06-08media: hantro: Define HEVC codec profiles and supported featuresBenjamin Gaignard2-0/+61 2021-06-08media: hantro: change hantro_codec_ops run prototype to return errorsBenjamin Gaignard9-21/+40 2021-06-08media: hevc: Add decode params controlBenjamin Gaignard9-39/+136 2021-06-08media: hevc: Add fields and flags for hevc PPSBenjamin Gaignard2-0/+18 2021-06-08media: imon: use DEVICE_ATTR_RW() helper macroZhen Lei1-9/+6 2021-06-08media: rc: add keymap for Toshiba CT-90405 remoteAlexander Voronov4-0/+89 2021-06-08media: st_rc: Handle errors of clk_prepare_enable()Evgeny Novikov1-4/+18 2021-06-08media: cinergyt2: make properties constSean Young1-8/+3 2021-06-08media: dvd_usb: memory leak in cinergyt2_fe_attachDongliang Mu1-0/+2 2021-06-08media: cxd2880-spi: Fix some error messagesChristophe JAILLET1-6/+6 2021-06-08media: mxl692: make a const array static, makes object smallerColin Ian King1-1/+3 2021-06-08media: MAINTAINERS: add xisc files to isc driver entryEugen Hristev1-0/+2 2021-06-08media: MAINTAINERS: update ISC driver bindings fileEugen Hristev1-1/+1 2021-06-08media: atmel: atmel-isc: add microchip-xisc driverEugen Hristev6-1/+671