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/