{"thread":{"id":"12538","subject":"\"bash: git-upload-pack: command not found\" ??","startedAt":"2008-03-06T11:06:00Z","lastAt":"2008-03-06T19:57:44Z","messageCount":4,"participants":["Oliver Kullmann","Uwe Kleine-König"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"71235","messageId":"20080306110600.GA925@cs-wsok.swansea.ac.uk","threadId":"12538","inReplyTo":null,"subject":"\"bash: git-upload-pack: command not found\" ??","fromName":"Oliver Kullmann","fromEmail":"o.kullmann@swansea.ac.uk","sentAt":"2008-03-06T11:06:00Z","receivedAt":"2008-03-06T11:06:00Z","isPatch":false,"sender":{"key":"o.kullmann@swansea.ac.uk","avatar":null},"body":"Hello,\n\nwhen using\n\nTransitional> git pull ssh://user@host.xz/~/path/to/Transitional master\n\non a remote machine I get\n\nPassword:\nbash: git-upload-pack: command not found\nfatal: The remote end hung up unexpectedly\n\nOn both machines I have version 1.5.4.3 installed, but this behaviour\nwas never different in the past (I'm using git for 8 months; to circumvent the\nerror I always created a copy of the remote repository and then pulled locally).\n\nIt might be some path issue, but I don't find anything in the documentation\non how to instruct the remote machine where actually to find git.\n\nHope that somebody can enable me to use \"git pull\" as it should be.\n\nOliver\n\n"},{"id":"71245","messageId":"20080306124710.GA10266@informatik.uni-freiburg.de","threadId":"12538","inReplyTo":"20080306110600.GA925@cs-wsok.swansea.ac.uk","subject":"Re: \"bash: git-upload-pack: command not found\" ??","fromName":"Uwe Kleine-König","fromEmail":"ukleinek@informatik.uni-freiburg.de","sentAt":"2008-03-06T12:47:10Z","receivedAt":"2008-03-06T12:47:10Z","isPatch":false,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Hello,\n\nOliver Kullmann wrote:\n> Hello,\n> \n> when using\n> \n> Transitional> git pull ssh://user@host.xz/~/path/to/Transitional master\n> \n> on a remote machine I get\n> \n> Password:\n> bash: git-upload-pack: command not found\n> fatal: The remote end hung up unexpectedly\nWhere is git-upload-pack on the server machine?  Where do you set your\nPATH to include $(basedir git-upload-pack).  Does \n\n\tgit pull --upload-pack /path/to/git-upload-pack ...\n\nhelp?\n\nBest regards\nUwe\n\n-- \nUwe Kleine-König\n\n"},{"id":"71248","messageId":"20080306135456.GG925@cs-wsok.swansea.ac.uk","threadId":"12538","inReplyTo":"20080306124710.GA10266@informatik.uni-freiburg.de","subject":"Re: \"bash: git-upload-pack: command not found\" ??","fromName":"Oliver Kullmann","fromEmail":"o.kullmann@swansea.ac.uk","sentAt":"2008-03-06T13:54:56Z","receivedAt":"2008-03-06T13:54:56Z","isPatch":false,"sender":{"key":"o.kullmann@swansea.ac.uk","avatar":null},"body":"On Thu, Mar 06, 2008 at 01:47:10PM +0100, Uwe Kleine-König wrote:\n> Hello,\n> \n> Oliver Kullmann wrote:\n> > Hello,\n> > \n> > when using\n> > \n> > Transitional> git pull ssh://user@host.xz/~/path/to/Transitional master\n> > \n> > on a remote machine I get\n> > \n> > Password:\n> > bash: git-upload-pack: command not found\n> > fatal: The remote end hung up unexpectedly\n> Where is git-upload-pack on the server machine?\n\nIn the same directory as git, in /usr/local/bin/\n\n>  Where do you set your\n> PATH to include $(basedir git-upload-pack).\n\nHm, it's set \"nowhere\". Likely that's the problem: For a \nstandard-user the path includes the git-directory, but not\nfor the git-user.\n\n>  Does \n> \n> \tgit pull --upload-pack /path/to/git-upload-pack ...\n> \n> help?\n>\n\nYes! That solves it (I won't fiddle around with the path settings,\nsince I have also local installs etc., and that additional specification\ndoes the job).\n\nThanks!\n\nOliver\n \n-- \nDr. Oliver Kullmann\nComputer Science Department\nSwansea University\nFaraday Building, Singleton Park\nSwansea SA2 8PP, UK\nhttp://cs.swan.ac.uk/~csoliver/\n"},{"id":"71270","messageId":"20080306195743.GA1614@informatik.uni-freiburg.de","threadId":"12538","inReplyTo":"20080306135456.GG925@cs-wsok.swansea.ac.uk","subject":"Re: \"bash: git-upload-pack: command not found\" ??","fromName":"Uwe Kleine-König","fromEmail":"ukleinek@informatik.uni-freiburg.de","sentAt":"2008-03-06T19:57:44Z","receivedAt":"2008-03-06T19:57:44Z","isPatch":false,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Hallo Oliver,\n\nOliver Kullmann wrote:\n> >  Does \n> > \n> > \tgit pull --upload-pack /path/to/git-upload-pack ...\n> > \n> > help?\n> >\n> \n> Yes! That solves it (I won't fiddle around with the path settings,\n> since I have also local installs etc., and that additional specification\n> does the job).\nThen you might like the config variables remote.<name>.uploadpack and\nremote.<name>.receivepack.\n\nBest regards,\nUwe\n\n-- \nUwe Kleine-König\n\n"}]}