git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git svn --version requires working copy
@ 2016-08-10 16:16 Michal Čihař
  2016-08-10 20:52 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Čihař @ 2016-08-10 16:16 UTC (permalink / raw)
  To: git


[-- Attachment #1.1: Type: text/plain, Size: 533 bytes --]

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/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-10 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10 16:16 git svn --version requires working copy Michal Čihař
2016-08-10 20:52 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).