Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • master default
  • 7.0.0.202409031743-jpms
  • 7.0.0-jpms-1
4 results

jgit

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Shawn Pearce authored
    Clients can request smart fetch support by examining the info/refs URL
    with the service parameter set to the magic git-upload-pack string:
    
      GET /$GIT_DIR/info/refs?service=git-upload-pack HTTP/1.1
    
    The response is formatted with the upload pack capabilities, using
    the standard packet line formatter.  A special header line is put
    in front of the standard upload-pack advertisement to let clients
    know the service was recognized and is supported.
    
    If the requested service is disabled an authorization status code is
    returned, allowing the user agent to retry once they have obtained
    credentials from a human, in case authentication is required by
    the configured UploadPackFactory implementation.
    
    Change-Id: Ib0f1a458c88b4b5509b0f882f55f83f5752bc57a
    Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
    2e521446
    History
    Name Last commit Last update