aboutsummaryrefslogtreecommitdiffstats
path: root/connect.c
AgeCommit message (Expand)AuthorFilesLines
2015-11-20get_remote_heads: convert to struct object_idbrian m. carlson1-10/+12
2015-11-20Convert struct ref to use object_id.brian m. carlson1-1/+1
2015-10-20Merge branch 'jk/war-on-sprintf'Junio C Hamano1-1/+1
2015-10-14Merge branch 'tk/typofix-connect-unknown-proto-error'Junio C Hamano1-1/+1
2015-10-05Sync with 2.6.1Junio C Hamano1-0/+6
2015-09-28Sync with 2.3.10Junio C Hamano1-0/+5
2015-09-25convert trivial sprintf / strcpy calls to xsnprintfJeff King1-1/+1
2015-09-25connect: fix typo in result string of prot_name()Tobias Klauser1-1/+1
2015-09-23transport: add a protocol-whitelist environment variableJeff King1-0/+5
2015-09-08git_connect: clarify conn->use_shell flagJeff King1-9/+13
2015-09-04git_connect: clear GIT_* environment for sshJeff King1-2/+2
2015-06-05Merge branch 'bc/connect-plink' into maintJunio C Hamano1-21/+33
2015-05-19Merge branch 'bc/connect-plink'Junio C Hamano1-21/+33
2015-04-28connect: improve check for plink to reduce false positivesbrian m. carlson1-3/+15
2015-04-28connect: simplify SSH connection code pathbrian m. carlson1-20/+20
2015-04-27Merge branch 'tb/connect-ipv6-parse-fix' into maintJunio C Hamano1-0/+2
2015-04-20Merge branch 'tb/connect-ipv6-parse-fix'Junio C Hamano1-0/+2
2015-04-08connect.c: ignore extra colon after hostnameTorsten Bögershausen1-0/+2
2015-03-23Merge branch 'tb/connect-ipv6-parse-fix' into maintJunio C Hamano1-44/+70
2015-03-13Merge branch 'jk/daemon-interpolate' into maintJunio C Hamano1-1/+11
2015-03-10connect.c: do not leak "conn" after showing diagnosisStefan Beller1-0/+1
2015-03-06Merge branch 'rs/simple-cleanups' into maintJunio C Hamano1-2/+1
2015-03-05Merge branch 'tb/connect-ipv6-parse-fix'Junio C Hamano1-44/+70
2015-03-05Merge branch 'rs/simple-cleanups'Junio C Hamano1-2/+1
2015-03-03Merge branch 'jk/daemon-interpolate'Junio C Hamano1-1/+11
2015-02-22t5500: show user name and host in diag-urlTorsten Bögershausen1-12/+23
2015-02-22connect.c: allow ssh://user@[2001:db8::1]/repo.gitTorsten Bögershausen1-25/+38
2015-02-22connect: use strcmp() for string comparisonRené Scharfe1-2/+1
2015-02-17git_connect: let user override virtual-host we send to daemonJeff King1-1/+11
2014-12-22Merge branch 'mh/simplify-repack-without-refs'Junio C Hamano1-1/+1
2014-11-25sort_string_list(): rename to string_list_sort()Michael Haggerty1-1/+1
2014-11-10git_connect: set ssh shell command in GIT_SSH_COMMANDThomas Quinot1-3/+12
2014-09-19Merge branch 'rs/more-uses-of-skip-prefix'Junio C Hamano1-10/+6
2014-09-02connect: simplify check_ref() using skip_prefix() and starts_with()René Scharfe1-10/+6
2014-08-20run-command: introduce child_process_init()René Scharfe1-2/+4
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-1/+1
2014-07-21Merge branch 'maint'Junio C Hamano1-3/+1
2014-07-21use xmemdupz() to allocate copies of strings given by start and lengthRené Scharfe1-3/+1
2014-06-20use skip_prefix to avoid magic numbersJeff King1-5/+6
2014-05-15git_connect: use argv_arrayJeff King1-18/+10
2014-03-25Merge branch 'nd/indent-fix-connect-c'Junio C Hamano1-1/+1
2014-03-13connect.c: SP after "}", not TABNguyễn Thái Ngọc Duy1-1/+1
2014-01-17Merge branch 'nd/shallow-clone'Junio C Hamano1-9/+13
2013-12-17Merge branch 'tb/clone-ssh-with-colon-for-port'Junio C Hamano1-113/+136
2013-12-10connect.c: teach get_remote_heads to parse "shallow" linesNguyễn Thái Ngọc Duy1-1/+11
2013-12-10remote.h: replace struct extra_have_objects with struct sha1_arrayNguyễn Thái Ngọc Duy1-9/+3
2013-12-09git_connect(): use common return pointTorsten Bögershausen1-58/+50
2013-12-09connect.c: refactor url parsingTorsten Bögershausen1-27/+30
2013-12-09git_connect(): refactor the port handling for sshTorsten Bögershausen1-34/+13
2013-12-09git fetch: support host:/~repoTorsten Bögershausen1-7/+7
2013-12-09git fetch-pack: add --diag-urlTorsten Bögershausen1-0/+28
2013-12-09git_connect: factor out discovery of the protocol and its partsJohannes Sixt1-27/+53
2013-12-09git_connect: remove artificial limit of a remote commandJohannes Sixt1-6/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-1/+1
2013-10-30Merge branch 'jc/upload-pack-send-symref'Junio C Hamano1-1/+62
2013-10-14Merge branch 'nd/clone-local-with-colon'Jonathan Nieder1-1/+1
2013-09-27clone: tighten "local paths with colons" check a bitNguyễn Thái Ngọc Duy1-1/+1
2013-09-17connect: annotate refs with their symref information in get_remote_head()Junio C Hamano1-0/+60
2013-09-17connect.c: make parse_feature_value() staticJunio C Hamano1-1/+2
2013-07-08cache.h: move remote/connect API out of itJunio C Hamano1-0/+1
2013-06-02Merge branch 'nd/clone-local-with-colon'Junio C Hamano1-2/+5
2013-05-07clone: allow cloning local paths with colons in themNguyễn Thái Ngọc Duy1-2/+5
2013-02-24teach get_remote_heads to read from a memory bufferJeff King1-3/+3
2013-02-24pkt-line: share buffer/descriptor reading implementationJeff King1-1/+2
2013-02-20pkt-line: provide a LARGE_PACKET_MAX static bufferJeff King1-2/+2
2013-02-20pkt-line: teach packet_read_line to chomp newlinesJeff King1-3/+2
2013-02-20pkt-line: provide a generic reading function with optionsJeff King1-1/+2
2012-08-29Merge branch 'jc/capabilities'Junio C Hamano1-9/+36
2012-08-13parse_feature_request: make it easier to see feature valuesJeff King1-9/+36
2012-07-04Merge branch 'hv/remote-end-hung-up'Junio C Hamano1-1/+17
2012-06-19remove the impression of unexpectedness when access is deniedHeiko Voigt1-1/+17
2012-06-13git: Wrong parsing of ssh urls with IPv6 literals ignores portRené Scharfe1-1/+1
2012-01-08server_supports(): parse feature list more carefullyJunio C Hamano1-2/+21
2011-12-22Merge branch 'jk/git-prompt'Junio C Hamano1-44/+0
2011-12-19Merge branch 'ew/keepalive'Junio C Hamano1-0/+13
2011-12-13connect.c: drop path_match functionJeff King1-21/+0
2011-12-13drop "match" parameter from get_remote_headsJeff King1-3/+0
2011-12-12move git_getpass to its own source fileJeff King1-44/+0
2011-12-05enable SO_KEEPALIVE for connected TCP socketsEric Wong1-0/+13
2011-10-05Change check_ref_format() to take a flags argumentMichael Haggerty1-1/+1
2011-09-11Merge branch 'dz/connect-error-report' into maintJunio C Hamano1-14/+11
2011-08-01connect: only log if all attempts failed (ipv4)Erik Faye-Lund1-13/+10
2011-08-01Merge branch 'maint' into ef/ipv4-connect-error-reportJunio C Hamano1-1/+1
2011-08-01connect: correctly number ipv6 network adapterErik Faye-Lund1-1/+1
2011-07-14Do not log unless all connect() attempts failDave Zarzycki1-14/+11
2011-05-19Merge branch 'jk/git-connection-deadlock-fix'Junio C Hamano1-14/+21
2011-05-16connect: let callers know if connection is a socketJeff King1-1/+6
2011-05-16connect: treat generic proxy processes like ssh processesJeff King1-13/+15
2010-09-30Make sure that git_getpass() never returns NULLJohannes Schindelin1-2/+6
2010-08-31Allow core.askpass to override SSH_ASKPASS.Knut Franke1-1/+2
2010-08-31Add a new option 'core.askpass'.Anselm Kruis1-1/+3
2010-06-21Merge branch 'gv/portable'Junio C Hamano1-1/+1
2010-05-31enums: omit trailing comma for portabilityGary V. Vaughan1-1/+1
2010-05-24decode file:// and ssh:// URLsJeff King1-1/+7
2010-03-20Merge branch 'fl/askpass'Junio C Hamano1-0/+37
2010-03-07Merge branch 'gb/maint-submodule-env'Junio C Hamano1-12/+2
2010-03-04git-core: Support retrieving passwords with GIT_ASKPASSFrank Li1-0/+37
2010-03-02Merge branch 'ml/connect-refactor'Junio C Hamano1-54/+29
2010-02-24Refactor list of of repo-local env varsGiuseppe Bilotta1-12/+2
2010-02-17connect.c: move duplicated code to a new function 'get_host_and_port'Michael Lukashov1-54/+29
2010-02-03Typofixes outside documentation areaJunio C Hamano1-1/+1
2010-01-27Merge branch 'il/maint-colon-address'Junio C Hamano1-2/+8
2010-01-26Allow use of []-wrapped addresses in git://Ilari Liusvaara1-2/+8
2010-01-25git_connect: use use_shell instead of explicit "sh", "-c"Johannes Sixt1-2/+1
2009-11-23Merge branch 'cc/replace'Junio C Hamano1-0/+1
2009-11-20replace: use a GIT_NO_REPLACE_OBJECTS env variableChristian Couder1-0/+1
2009-10-30Move "get_ack()" back to fetch-packShawn O. Pearce1-21/+0
2009-08-31Style fixes, add a space after if/for/while.Brian Gianforcaro1-1/+1
2009-06-20Fix various sparse warnings in the git source codeLinus Torvalds1-1/+1
2009-06-13Merge branch 'sp/msysgit'Junio C Hamano1-2/+6
2009-06-06daemon: Strictly parse the "extra arg" part of the commandShawn O. Pearce1-1/+4
2009-06-01connect.c: Support PuTTY plink and TortoisePlink as SSH on WindowsEdward Z. Yang1-2/+6
2009-04-25connect: replace inet_ntop with getnameinfoBenjamin Kramer1-11/+4
2009-03-14Remove unused assignmentsBenjamin Kramer1-1/+1
2009-03-10connect.c: remove a few globals by using git_config callback dataErik Faye-Lund1-6/+3
2009-01-05remove trailing LF in die() messagesAlexander Potashev1-1/+1
2008-12-21connect.c: stricter port validation, silence compiler warningRené Scharfe1-2/+2
2008-11-02connect.c: add a way for git-daemon to pass an error back to clientTom Preston-Werner1-0/+3
2008-10-18make alloc_ref_from_str() the new alloc_ref()René Scharfe1-1/+1
2008-10-18use alloc_ref_from_str() everywhereRené Scharfe1-2/+1
2008-09-09push: prepare sender to receive extended ref information from the receiverJunio C Hamano1-1/+15
2008-08-31'git foo' program identifies itself without dash in die() messagesJunio C Hamano1-2/+2
2008-06-26Windows: Disambiguate DOS style paths from SSH URLs.Johannes Sixt1-1/+1
2008-05-14Provide git_config with a callback-data parameterJohannes Schindelin1-3/+4
2008-02-22Avoid unnecessary "if-before-free" tests.Jim Meyering1-2/+1
2008-02-11Merge branch 'db/no-separate-ls-remote-connection' (early part)Junio C Hamano1-8/+12
2008-02-11connect.c: guard config parser from value=NULLJunio C Hamano1-0/+2
2008-02-09Fix "git clone" for git:// protocolJohannes Schindelin1-8/+12
2007-11-02Miscellaneous const changes and utilitiesDaniel Barkalow1-1/+9
2007-10-21Use start_command() in git_connect() instead of explicit fork/exec.Johannes Sixt1-55/+48
2007-10-21Change git_connect() to return a struct child_process instead of a pid_t.Johannes Sixt1-14/+17
2007-10-16Merge branch 'master' into db/fetch-packShawn O. Pearce1-15/+10
2007-09-29bundle transport: fix an alloc_ref() callJunio C Hamano1-2/+2
2007-09-21sq_quote_argv and add_to_string rework with strbuf's.Pierre Habouzit1-12/+9
2007-09-18Use xmemdupz() in many places.Pierre Habouzit1-3/+1
2007-09-01URL: allow port specification in ssh:// URLsLuben Tuikov1-1/+29
2007-08-01connect: accept file:// URL schemeLinus Torvalds1-5/+7
2007-07-09Add allocation and freeing functions for struct refsDaniel Barkalow1-1/+1
2007-07-01Merge branch 'ei/worktree+filter'Junio C Hamano1-0/+1
2007-06-16Do not use h_errno after connect(2): the function does not set itAlex Riesen1-4/+2
2007-06-07War on whitespaceJunio C Hamano1-1/+1
2007-06-06introduce GIT_WORK_TREE to specify the work treeMatthias Lederhofer1-0/+1
2007-05-29Merge branch 'db/remote'Junio C Hamano1-239/+1
2007-05-24Verbose connect messages to show the IP addresses usedAlex Riesen1-1/+37
2007-05-20Move refspec parser from connect.c and cache.h to remote.{c,h}Daniel Barkalow1-239/+1
2007-05-16connect: display connection progressMichael S. Tsirkin1-6/+24
2007-03-27Fix "getaddrinfo()" bugletLinus Torvalds1-1/+3
2007-03-12Use run_command for proxy connectionsShawn O. Pearce1-21/+15
2007-02-20Mechanical conversion to use prefixcmp()Junio C Hamano1-3/+3
2007-01-21Make sure git_connect() always give two file descriptors.Junio C Hamano1-1/+1
2006-12-20simplify inclusion of system header files.Junio C Hamano1-6/+0
2006-11-24Allow git push to delete remote ref.Junio C Hamano1-1/+10
2006-11-23refs outside refs/{heads,tags} match less strongly.Junio C Hamano1-5/+42
2006-09-12connect.c: finish_connect(): allow null pid parameterFranck Bui-Huu1-2/+11
2006-09-10Fix a memory leak in "connect.c" and die if command too long.Christian Couder1-3/+14
2006-09-05send-pack: remove remote reference limitAndy Whitcroft1-1/+1
2006-09-02Replace uses of strdup with xstrdup.Shawn Pearce1-3/+3
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-3/+3
2006-08-15remove unnecessary initializationsDavid Rientjes1-3/+3
2006-08-15finish_connect(): thinkofixJunio C Hamano1-8/+3
2006-07-04Improve git-peek-remoteLinus Torvalds1-4/+31
2006-07-01Fix errno usage in connect.cPetr Baudis1-6/+12
2006-06-28connect.c: remove unused parameters from tcp_connect and proxy_connectJunio C Hamano1-6/+4
2006-06-28Make some strings constTimo Hirvonen1-2/+2
2006-06-26Solaris needs inclusion of signal.h for signal()Dennis Stosberg1-0/+1
2006-06-19Restore SIGCHLD to SIG_DFL where we care about waitpid().Junio C Hamano1-0/+5
2006-06-08check for error return from fork()Paul T Darga1-0/+2
2006-06-06Refactor git_tcp_connect() functions a little.Jon Loeliger1-18/+42
2006-05-22fetch-pack: output refs in the order they were given on the command line.Junio C Hamano1-1/+1
2006-04-17cleanups: Fix potential bugs in connect.cSerge E. Hallyn1-4/+14
2006-01-25Add compat/unsetenv.c .Jason Riedy1-0/+1
2006-01-25local push/pull env cleanupMatt Draisey1-2/+8
2005-12-27send-pack/receive-pack: allow errors to be reported back to pusher.Junio C Hamano1-4/+4
2005-12-21GIT: Support [address] in URLsYOSHIFUJI Hideaki / 吉藤英明1-8/+24
2005-11-22Fixed git:// IPv4 address problem when compiled with -DNO_IPV6.Paul Serice1-1/+1
2005-11-21GIT: Fix compilation error in connect.cYOSHIFUJI Hideaki / 吉藤英明1-4/+5
2005-11-21git-proxy updates.Junio C Hamano1-7/+45
2005-11-21proxy-command support for git://Paul Collins1-1/+71
2005-11-19Client side support for user-relative paths.Andreas Ericsson1-22/+33
2005-10-28fix multi_ack.Johannes Schindelin1-2/+3
2005-10-28git-fetch-pack: Support multi_ack extensionJohannes Schindelin1-1/+4
2005-10-28Support receiving server capabilitiesJohannes Schindelin1-1/+15
2005-10-25Revert recent fetch-pack/upload-pack updates.Junio C Hamano1-4/+1
2005-10-24git-fetch-pack: Implement client part of the multi_ack extensionJohannes Schindelin1-1/+4
2005-10-16Squelch compiler warnings from connect.cJunio C Hamano1-0/+1
2005-10-15Ignore funny refname sent from remoteJunio C Hamano1-1/+7
2005-10-14Support git+ssh:// and ssh+git:// URLLinus Torvalds1-0/+4
2005-09-28NO_IPV6 support for git daemonPeter Anvin1-1/+1
2005-09-28Call it NO_IPV6 rather than hard-coding __CYGWIN__hpa1-3/+3
2005-09-28Cygwin doesn't support IPv6 or getaddrinfo()hpa1-0/+73
2005-08-28Merge refs/heads/portable from http://www.cs.berkeley.edu/~ejr/gits/git.git Junio C Hamano1-2/+4
2005-08-24Support +<src>:<dst> format in push as well.Junio C Hamano1-2/+15
2005-08-23Fix ?: statements.Jason Riedy1-2/+4
2005-08-09Use GIT_SSH environment to specify alternate ssh binary.Martin Sivak1-2/+9
2005-08-09[PATCH] -Werror fixesTimo Sirainen1-1/+2
2005-08-06send-pack: allow generic sha1 expression on the source side.Junio C Hamano1-0/+20
2005-08-06send-pack: allow the same source to be pushed more than once.Junio C Hamano1-7/+0
2005-08-05Fix refname termination.Junio C Hamano1-1/+1
2005-08-03[PATCH] Fix sparse warningsAlecs King1-3/+1
2005-08-03Renaming push.Junio C Hamano1-3/+169