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

[PATCH] git-svn docs: mention svn.addAuthorFrom and svn.useLogAuthor config options.

From
Avery Pennarun <apenwarr@gmail.com>
Date
Jun 24, 2008, 16:02 UTC
Message-ID
<1214323361-13136-1-git-send-email-apenwarr@gmail.com>
In-Reply-To
<20080624073707.GA6495@frsk.net>

At least one person got confused because they thought it was necessary to provide these on the command line every time.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
---
 Documentation/git-svn.txt |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index 97bed54..e8200ce 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -64,13 +64,16 @@ COMMANDS
 --use-log-author;;
 	When retrieving svn commits into git (as part of fetch, rebase, or
 	dcommit operations), look for the first From: or Signed-off-by: line
-	in the log message and use that as the author string.
+	in the log message and use that as the author string. (To enable
+	this permanently, use git config svn.useLogAuthor)
 --add-author-from;;
 	When committing to svn from git (as part of commit or dcommit
 	operations), if the existing log message doesn't already have a
 	From: or Signed-off-by: line, append a From: line based on the
-	git commit's author string.  If you use this, then --use-log-author
-	will retrieve a valid author string for all commits.
+	git commit's author string.  If you use this, then if you enable
+	--use-log-author it will retrieve a valid author string for all
+	commits. (To enable this option permanently, use git config
+	svn.addAuthorFrom)
 --username=<USER>;;
 	For transports that SVN handles authentication for (http,
 	https, and plain svn), specify the username.  For other
-- 
1.5.6.56.g29b0d
Previous: Fredrik Skolmli
Message 7 of 7 in “git svn --add-author-from implies --use-log-author”
  1. Fredrik SkolmliJun 20, 2008
  2. Mircea BardacJun 20, 2008
  3. Avery PennarunJun 23, 2008
  4. Mircea BardacJun 23, 2008
  5. Avery PennarunJun 23, 2008
  6. Fredrik SkolmliJun 24, 2008
  7. git-svn docs: mention svn.addAuthorFrom and svn.useLogAuthor config options.Avery Pennarun, Jun 24, 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.