Re: git svn errors out with git-cat-file "usage" message

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

 



On Wed, Apr 29, 2009 at 11:05 PM, Michael J Gruber
<git@xxxxxxxxxxxxxxxxxxxx> wrote:
> But I just re-read your original report, and there's some inconsistency:
>
> git-svn triggers cat-file's usage message which says "git-cat-file ...".
> The dash indicates that it is a git cat-file before v1.6.0.1-13-g34baebc
> (where the dash was removed), so it's definitely not the current maint
> you think you are using.
>
> Do you have older ubuntu git packages installed in $PATH?

Bingo! Yes,

~$ which git-cat-file
/usr/bin/git-cat-file
~$ /usr/bin/git version
git version 1.5.6.3

now that's really weird. git from ~/bin is using git-cat-file from
/usr/bin instead of ~/libexec/git-core ... how is the libexec path set
in the PATH during the execution of the script?

the funny thing is that Ubuntu wants to have git-core in place if
you're rebuilding kernel packages. I don't need to rebuild my kernel
anymore but I am sure this is an issue for others. What's the trick?
Add the libexec/git-core to the PATH before /usr/bin? Should git
internally append libexec/git-core earlier in the search path?

cheers,


m
-- 
 martin.langhoff@xxxxxxxxx
 martin@xxxxxxxxxx -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
--
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]