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

Re: [PATCH] Add option USE_INPLACE to Makefile

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 16, 2005, 11:04 UTC
Message-ID
<Pine.LNX.4.63.0511161117090.16852@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vpsp19eg7.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 16 Nov 2005, Junio C Hamano wrote:
Show 16 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > Now, *I* know what I have to put into config.mak, but I would hate the 
> > project if I was new to it, tried to play around with it, and nothing 
> > would work in spite of being compiled with just one warning, thank you.
> 
> Hmph.  That certainly sounds like what I might do.  Especially
> the part "play around before installing", so I am *very*
> sympathetic.
> 
> OTOH, I do not particularly want to advertise/encourage in-place
> use.  Once you built today's git ;-), wouldn't you cd somewhere
> else and use it for your real work?  That would mean you have
> one location on your PATH that you keep the latest git build
> and I am not sure why being able to run in-place is such a big
> deal.  Is it because $HOME is under a tight quota?

Okay. So it would be better to provide a short snippet in INSTALL which can be copied into config.mak?

Show 6 quoted lines
> > Just a safety measure for the price of two lines. When I check out a new 
> > project, I do "make", play around with it, and then do "make install". If 
> > I had to set "export USE_INPLACE=1", "make install" should barf, because 
> > the compiled programs are not meant to be used anywhere else.
> 
> OK.  That's sensible.

Well, the patch was untested, and wrong (template_dir was bogus). But I agree that it might be a better idea to deprecate that behaviour.

I *will* learn to "make install" after "make", and not spend hours just to find that ./git called the old installed binaries.

Ciao, Dscho

Previous: Junio C Hamano
Message 5 of 5 in “Add option USE_INPLACE to Makefile”
  1. Add option USE_INPLACE to MakefileJohannes Schindelin, Nov 16, 2005
  2. Junio C HamanoNov 16, 2005
  3. Johannes SchindelinNov 16, 2005
  4. Junio C HamanoNov 16, 2005
  5. Johannes SchindelinNov 16, 2005

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.