git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* First time compiling source
@ 2008-01-15 20:34 Chris Ortman
  2008-01-15 20:56 ` Jeff King
  2008-01-15 21:23 ` Alex Riesen
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Ortman @ 2008-01-15 20:34 UTC (permalink / raw)
  To: git

Up until today I've always run git off whatever debs come with ubuntu.
But if I'm going to try to do some work I figured I should be
compiling from source.

To compile I did
git co -b current v1.5.3.8
make
make install

then to check
which git
/home/chrisortman/bin/git
as expected

however git --version still reports 1.5.2.5

What did I miss?

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: First time compiling source
  2008-01-15 20:34 First time compiling source Chris Ortman
@ 2008-01-15 20:56 ` Jeff King
  2008-01-15 21:01   ` Chris Ortman
  2008-01-15 21:23 ` Alex Riesen
  1 sibling, 1 reply; 4+ messages in thread
From: Jeff King @ 2008-01-15 20:56 UTC (permalink / raw)
  To: Chris Ortman; +Cc: git

On Tue, Jan 15, 2008 at 02:34:12PM -0600, Chris Ortman wrote:

> then to check
> which git
> /home/chrisortman/bin/git
> as expected
> 
> however git --version still reports 1.5.2.5
> 
> What did I miss?

Is bash caching the location of git? Try 'type git' in that shell, or
try running 'git --version' from a new shell.

-Peff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: First time compiling source
  2008-01-15 20:56 ` Jeff King
@ 2008-01-15 21:01   ` Chris Ortman
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Ortman @ 2008-01-15 21:01 UTC (permalink / raw)
  To: Jeff King; +Cc: git

That was it, thanks.

On Jan 15, 2008 2:56 PM, Jeff King <peff@peff.net> wrote:
> On Tue, Jan 15, 2008 at 02:34:12PM -0600, Chris Ortman wrote:
>
> > then to check
> > which git
> > /home/chrisortman/bin/git
> > as expected
> >
> > however git --version still reports 1.5.2.5
> >
> > What did I miss?
>
> Is bash caching the location of git? Try 'type git' in that shell, or
> try running 'git --version' from a new shell.
>
> -Peff
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: First time compiling source
  2008-01-15 20:34 First time compiling source Chris Ortman
  2008-01-15 20:56 ` Jeff King
@ 2008-01-15 21:23 ` Alex Riesen
  1 sibling, 0 replies; 4+ messages in thread
From: Alex Riesen @ 2008-01-15 21:23 UTC (permalink / raw)
  To: Chris Ortman; +Cc: git

Chris Ortman, Tue, Jan 15, 2008 21:34:12 +0100:
> Up until today I've always run git off whatever debs come with ubuntu.
> But if I'm going to try to do some work I figured I should be
> compiling from source.
> 
> To compile I did
> git co -b current v1.5.3.8
> make
> make install
> 
> then to check
> which git
> /home/chrisortman/bin/git
> as expected
> 
> however git --version still reports 1.5.2.5
> 
> What did I miss?

The git in /usr/bin is stuck in hashed paths of your shell?
For instance, bash remembers all the programs it managed to exec.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-15 21:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-15 20:34 First time compiling source Chris Ortman
2008-01-15 20:56 ` Jeff King
2008-01-15 21:01   ` Chris Ortman
2008-01-15 21:23 ` Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).