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

Re: [PATCH] git-svn now reads settings even if called in subdirectory

From
EWEric Wong <normalperson@yhbt.net>
Date
Nov 29, 2007, 07:41 UTC
Message-ID
<20071129074132.GA32277@soma>
In-Reply-To
<1195912076-3903-1-git-send-email-hendeby@isy.liu.se>
Gustaf Hendeby <hendeby@isy.liu.se> wrote:
Show 14 quoted lines
> Previously, git-svn first read the .git/config file for settings as if
> current working directory was the repository top-directory, and after
> that made sure to cd into top-directory.  The result was a silent
> failur to read configuration settings.  This patch changes the order
> these two things are done.
> 
> Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
> 
> ---
> 
> This fix seems a bit too obvious, which makes me think I missed
> something conceptual here.  However, the patch passes "make test" and
> "make full-svn-test", and the problems I had with the svn.authorsfile
> setting not being honored while fetching from a subdirectory are gone.
Thanks Gustaf,
Seems right to me (note: I never use the authors file feature myself).
Acked-by: Eric Wong <normalperson@yhbt.net>
-- 
Eric Wong
Previous: Gustaf Hendeby
Message 2 of 2 in “git-svn now reads settings even if called in subdirectory”
  1. git-svn now reads settings even if called in subdirectoryGustaf Hendeby, Nov 24, 2007
  2. Eric WongNov 29, 2007

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.