Re: git svn --version requires working copy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michal Čihař <michal@xxxxxxxxx> 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.




--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]