git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-daemon regression: 650c449250d7 common-main: call git_extract_argv0_path()

From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
Date
Nov 26, 2016, 16:56 UTC
Message-ID
<1480179391.10220.19.camel@kaarsemaker.net>
In-Reply-To
<1480169028.3830.24.camel@gmail.com>
Hi Mike,
On Sat, 2016-11-26 at 15:03 +0100, Mike Galbraith wrote:
Show 6 quoted lines
> Greetings,
> 
> git-daemon went broke on me post v2.9.3 due to binaries being installed
> in /usr/lib/git, which is not in PATH.  Reverting 650c449250d7 fixes it
> up, as does ln -s /usr/lib/git/git-daemon /usr/bin/git-daemon 'course,
> but thought I should report it, since it used to work without that.

I don't know how you usually install git, but git-daemon is not supposed to be in $PATH, the correct way to invoke the git daemon is 'git daemon' not 'git-daemon'

Having all subcommands of git as separate binaries in your $PATH is an ancient git.git practice that stopped being used/supported quite a while ago.

I don't know why this patch broke that obsolete practice, but hopefully this can help you forward.

D.
Previous: Mike GalbraithNext: Jeff King
Message 2 of 5 in “git-daemon regression: 650c449250d7 common-main: call git_extract_argv0_path()”
  1. Mike GalbraithNov 26, 2016
  2. Dennis KaarsemakerNov 26, 2016
  3. Jeff KingNov 26, 2016
  4. Mike GalbraithNov 26, 2016
  5. common-main: stop munging argv[0] pathJeff King, Nov 27, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.