threads / discuss / 9517

git-peek-remote vs git-pull (error in latter)

Subject: git-peek-remote vs git-pull (error in latter)

## tl;dr

2 messages between Aug 13, 2007 and Aug 13, 2007.

replies: 1people: 1as markdown or json

Evan Carroll· Aug 13, 2007, 22:01 UTC · lore

I'm having a *major* problem with git-pull and ssh locations. Notice the bottom works, and the top not so much can't find --upload-pack. As an aside, an error when people try ssh://user@location/ an error would be nice. die "Bad ssh-location syntax" if $cmd =~ /^ssh:/

ecarroll@x60s:~/Desktop/scraper$ git pull --upload-pack=/home/dealermade/bin/git-upload-pack dealermade@chason:/home/dealermad /Desktop/scraper/.git sh: /home/dealermade/bin/git-upload-pack: not found fatal: The remote end hung up unexpectedly Cannot get the repository state from origin

ecarroll@x60s:~/Desktop/scraper$ git-peek-remote --upload-pack=/home/dealermade/bin/git-upload-pack dealermade@chason:/home/dealermade/Desktop/scraper/.git 00af556bab4850c1f52eb259445688689f1dd4ff HEAD 00af556bab4850c1f52eb259445688689f1dd4ff refs/heads/master fe0e395cc4161071ac871215919563edc8de59c3 refs/heads/origin

Please cc me in all correspondence, me@evancarroll.com
Thanks again!
-- 
Evan Carroll
System Lord of the Internets
me@evancarroll.com
832-445-8877
Evan Carroll· Aug 13, 2007, 22:32 UTC · re: Evan Carroll · lore

Re: git-peek-remote vs git-pull (error in latter)

It appears as if the error is from git-ls-remote which has a bug (somewhere) in its --upload-pack

On 8/13/07, Evan Carroll <me@evancarroll.com> wrote:
Show 30 quoted lines
> I'm having a *major* problem with git-pull and ssh locations. Notice
> the bottom works, and the top not so much can't find --upload-pack. As
> an aside, an error when people try ssh://user@location/ an error would
> be nice. die "Bad ssh-location syntax" if $cmd =~ /^ssh:/
>
> ecarroll@x60s:~/Desktop/scraper$ git pull
> --upload-pack=/home/dealermade/bin/git-upload-pack
> dealermade@chason:/home/dealermad
> /Desktop/scraper/.git
> sh: /home/dealermade/bin/git-upload-pack: not found
> fatal: The remote end hung up unexpectedly
> Cannot get the repository state from origin
>
> ecarroll@x60s:~/Desktop/scraper$ git-peek-remote
> --upload-pack=/home/dealermade/bin/git-upload-pack
> dealermade@chason:/home/dealermade/Desktop/scraper/.git
> 00af556bab4850c1f52eb259445688689f1dd4ff        HEAD
> 00af556bab4850c1f52eb259445688689f1dd4ff        refs/heads/master
> fe0e395cc4161071ac871215919563edc8de59c3        refs/heads/origin
>
> Please cc me in all correspondence, me@evancarroll.com
>
> Thanks again!
>
> --
> Evan Carroll
> System Lord of the Internets
> me@evancarroll.com
> 832-445-8877
>
-- 
Evan Carroll
System Lord of the Internets
me@evancarroll.com
832-445-8877

← back to recent threads