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

Re: [PATCH 0/3] git-cvsserver: Add support for some binary files

From
MOMatthew Ogilvie <mmogilvi_git@miniinfo.net>
Date
May 18, 2008, 22:10 UTC
Message-ID
<20080518221053.GA880@comcast.net>
In-Reply-To
<7v7idteqzn.fsf@gitster.siamese.dyndns.org>
On Fri, May 16, 2008 at 05:03:40PM -0700, Junio C Hamano wrote:
Show 12 quoted lines
> Matthew Ogilvie <mmogilvi_git@miniinfo.net> writes:
> 
> > This series of patches extends git-cvsserver to support telling the
> > CVS client to set the -kb (binary) mode for files that git considers
> > to be binary (and not for text files).  It includes updates to
> > documentation and tests.
> 
> I am unfortunately not familiar with this part of the system and I'd need
> to summon help from experts, but it looks rather nicely done.
> 
> I saw a few places that said "crnl" instead of "crlf" in the
> documentation, which I munged locally before queuing.
Sounds good.
> 
> I noticed kopts_from_path in patch 3/3 takes $srcType of "sha1Or-k" but I
> could not spot which caller gives such token to the function.

Oops. The "sha1Or-k" cases can and probably should be removed completely.

I can generate another patch if you would like.

It's a remnant of an approach I had been working on earlier, when I thought there might be cases when I needed to fall back on the -k option the user specified on the command line because I didn't have the file contents. But careful study revealed what I needed elsewhere in the data structures.

-- Matthew Ogilvie [mmogilvi_git@miniinfo.net]

Previous: Junio C HamanoNext: Martin Langhoff
Message 6 of 11 in “git-cvsserver: Add support for some binary files”
  1. 0/3 git-cvsserver: Add support for some binary filesMatthew Ogilvie, May 15, 2008
  2. 1/3 git-cvsserver: add mechanism for managing working tree and current directoryMatthew Ogilvie, May 15, 2008
  3. 2/3 implement gitcvs.usecrlfattrMatthew Ogilvie, May 15, 2008
  4. 3/3 git-cvsserver: add ability to guess -kb from contentsMatthew Ogilvie, May 15, 2008
  5. Junio C HamanoMay 17, 2008
  6. Matthew OgilvieMay 18, 2008
  7. Martin LanghoffMay 18, 2008
  8. Matthew OgilvieMay 19, 2008
  9. Johannes SchindelinMay 19, 2008
  10. Matthew OgilvieMay 20, 2008
  11. Martin LanghoffMay 19, 2008

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.