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

Re: git svn --use-log-author misbehavior?

From
Fredrik Skolmli <fredrik@frsk.net>
Date
Jun 20, 2008, 10:57 UTC
Message-ID
<20080620105729.GB27940@frsk.net>
In-Reply-To
<485B82BD.2000404@mircea.bardac.net>
On Fri, Jun 20, 2008 at 11:13:17AM +0100, Mircea Bardac wrote:
Show 18 quoted lines
> I haven't tested this yet but I have a feeling this is not my case, or I 
> might not be fully understanding the implications of "--add-author-from" 
> on the functionality of "--use-log-author". Technically, they should be 
> independent and the options should not depend on each other:
> * --use-log-author only applies to getting info from the commits
> * --add-author-from only applies to putting info in the commits
> 
> From the documentation, these 2 options can only be used with git svn 
> init/clone so they should somehow be saved for future use. Maybe this 
> doesn't happen.
> 
> My Git commits (not dcommits) already have "Signed-off-by:" at the end, 
> added with "git commit -s". When I do a "git svn dcommit" they get 
> pushed to SVN and the entire commit is rewritten. I have 
> --add-author-from added on git clone, but nothing else is being added to 
> the commit except the git-svn-id - from my point of view, according to 
> the documentation, this is the correct behavior (since there already is 
> a Signed-off-by line)
 
Did you mean "git svn clone" here, not "git clone"? And if --use-log-author
is to be used to get retrieve info from the commits, it should be used
instead of --add-author-from when doing a clone. (Which as far as I can see
behaves correctly.)

However, looks like I might have misunderstood your problem, and possibly found a bug in the process. I'll look closer into it. :-)

-- 
Regards,
Fredrik Skolmli
Previous: Stephen R. van den BergNext: Mircea Bardac
Message 5 of 6 in “git svn --use-log-author misbehavior?”
  1. Mircea BardacJun 19, 2008
  2. Fredrik SkolmliJun 20, 2008
  3. Mircea BardacJun 20, 2008
  4. Stephen R. van den BergJun 20, 2008
  5. Fredrik SkolmliJun 20, 2008
  6. Mircea BardacJun 20, 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.