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

Re: --exec-path not always honored

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Mar 17, 2009, 10:34 UTC
Message-ID
<49BF7CAF.6060505@viscovery.net>
In-Reply-To
<alpine.DEB.1.00.0903171117480.6393@intel-tinevez-2-302>
Johannes Schindelin schrieb:
Show 8 quoted lines
> On Tue, 17 Mar 2009, Johannes Sixt wrote:
> 
>> I noticed this failure if I run git from the build directory:
>>
>> $ ./git --exec-path=. gc
> 
> I am not sure if "." is what you think it is; I imagine it would be 
> $GIT_DIR by the time the PATH variable is adjusted.
This would be *very* bogus, wouldn't it?
Show 5 quoted lines
> Could you try again with
> 
> 	$ ./git --exec-path="$(pwd)" gc
> 
> ?
It fails in the same way:

$ ./git --exec-path=$(pwd) gc usage: git pack-objects blah blah... error: failed to run repack

-- Hannes
Previous: Johannes SchindelinNext: Junio C Hamano
Message 3 of 5 in “--exec-path not always honored”
  1. Johannes SixtMar 17, 2009
  2. Johannes SchindelinMar 17, 2009
  3. Johannes SixtMar 17, 2009
  4. Junio C HamanoMar 18, 2009
  5. Johannes SixtMar 18, 2009

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.