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

Re: [PATCH 1/3] vcs-svn: Introduce svnload, a dumpfile producer

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Feb 2, 2011, 02:53 UTC
Message-ID
<20110202025320.GB11339@kytes>
In-Reply-To
<AANLkTikUUojgj_H0r0L=XBi7H714xUvAS=vPsgMRNNjr@mail.gmail.com>
Hi Erik,
Erik Faye-Lund writes:
> A very superficial review, because I don't have much time, and don't
> know the surrounding code well. Sorry about that.

Thanks. I have to often switch back and fourth between GNU-style (for Subversion) and Linux-style (for Git), so please bear with my silly style errors.

Show 11 quoted lines
> On Tue, Feb 1, 2011 at 3:26 PM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
> > +       if (!val) die("Malformed author line");
> > +       if (!(tz_off = strrchr(val, ' '))) goto error;
> > +       *tz_off++ = '\0';
> > +       if (!(t = strrchr(val, ' '))) goto error;
> 
> style: use
> "if (x)
> 	do_stuff();"
> instead of
> "if (x) do_stuff();"

This was intentional -- I'm only using it when do_stuff() is 'goto error'. I thought it looked nicer that way.

-- Ram
Previous: Erik Faye-LundNext: Erik Faye-Lund
Message 4 of 13 in “Towards a Git-to-SVN bridge”
  1. 0/3 Towards a Git-to-SVN bridgeRamkumar Ramachandra, Feb 1, 2011
  2. 1/3 vcs-svn: Introduce svnload, a dumpfile producerRamkumar Ramachandra, Feb 1, 2011
  3. Erik Faye-LundFeb 1, 2011
  4. Ramkumar RamachandraFeb 2, 2011
  5. Erik Faye-LundFeb 2, 2011
  6. 2/3 t9010-svn-fi: Add tests for svn-fiRamkumar Ramachandra, Feb 1, 2011
  7. Jonathan NiederFeb 1, 2011
  8. Ramkumar RamachandraFeb 2, 2011
  9. Jonathan NiederFeb 2, 2011
  10. 3/3 vcs-svn: Refactor dump_export code into dispatch tableRamkumar Ramachandra, Feb 1, 2011
  11. Jonathan NiederFeb 1, 2011
  12. Junio C HamanoFeb 1, 2011
  13. Ramkumar RamachandraFeb 2, 2011

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.