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

git svn --version requires working copy

From
Michal Čihař <michal@cihar.com>
Date
Aug 10, 2016, 16:16 UTC
Message-ID
<8b881bf6-0b53-f917-fbe7-db22fe4910b8@cihar.com>
Hi

I've just noticed, that running git svn --version requires working copy, what is quite ugly to require working copy just to figure out if git svn is installed and what version.

$ git svn --version
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Unable to find .git directory
 at /usr/lib/git-core/git-svn line 347.
Is this expected behavior?
Thanks
-- 
	Michal Čihař | http://cihar.com/ | https://weblate.org/
Next: Junio C Hamano
Message 1 of 2 in “git svn --version requires working copy”
  1. Michal ČihařAug 10, 2016
  2. Junio C HamanoAug 10, 2016

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.