git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH JGIT] Minor : Make ObjectId, RemoteConfig Serializable

From
Shawn O. Pearce <spearce@spearce.org>
Date
Feb 8, 2009, 19:47 UTC
Message-ID
<20090208194745.GA30949@spearce.org>
In-Reply-To
<200902082045.22703.robin.rosenberg.lists@dewire.com>
Robin Rosenberg <robin.rosenberg.lists@dewire.com> wrote:
Show 9 quoted lines
> söndag 08 februari 2009 20:10:24 skrev Shawn O. Pearce:
> > In the case of any of the types you are discussing there is an easy
> > canonical form for them to be written on the wire, or to read back:
> > 
> >   ObjectId     - the 20 byte SHA-1
> >   RefSpec      - the string form as it appears in the config file
> >   URIish       - the string form as it appears in the config file
>
> with our without the password?
With.
We're serializing the object, we should store as much of the data
as we have.  Clients throwing this over the wire should either be
careful with their connection (e.g. use SSL) or be careful with
the data they are throwing (e.g. don't use URIish that has password).
 
-- 
Shawn.
Previous: Robin Rosenberg
Message 6 of 6 in “Minor : Make ObjectId, RemoteConfig Serializable”
  1. Minor : Make ObjectId, RemoteConfig SerializableNigel Magnay, Feb 6, 2009
  2. Robin RosenbergFeb 8, 2009
  3. Nigel MagnayFeb 8, 2009
  4. Shawn O. PearceFeb 8, 2009
  5. Robin RosenbergFeb 8, 2009
  6. Shawn O. PearceFeb 8, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.