Thread (1 message) 1 message, 1 author, 2016-08-10

Re: git svn --version requires working copy

From: Junio C Hamano <hidden>
Date: 2016-08-10 20:52:24

Michal Čihař [off-list ref] writes:
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.
Wasn't this fixed sometime last month?

  ... goes and looks ...

c0071ae5 (git-svn: allow --version to work anywhere, 2016-07-22)
seems to be it.  Try the tip of 'master' if you can and report if it
works for you.  It will hopefully be part of the upcoming Git 2.10
release (the preview release is expected this coming weekend).

Thanks.



Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help