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

Re: git --version

From
PCPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Date
May 31, 2006, 18:58 UTC
Message-ID
<4d8e3fd30605311158n9d669dgd6c392ee8d194b78@mail.gmail.com>
In-Reply-To
<7vu077ywmw.fsf@assigned-by-dhcp.cox.net>
On 5/31/06, Junio C Hamano <junkio@cox.net> wrote:
Show 16 quoted lines
> "Paolo Ciarrocchi" <paolo.ciarrocchi@gmail.com> writes:
>
> > I'm confused by the following:
> > paolo@Italia:~/git$ ./GIT-VERSION-GEN
> > GIT_VERSION = 1.3.3.g2186
> >
> > paolo@Italia:~/git$ git --version
> > git version 1.3.GIT
> >
> > Why git --version is not reporting the "full" version number?
>
> There is a bit of chicken and egg problem involved.  The build
> procedure wants to have an already installed git to figure out
> the "full" version number.  If you are bootstrapping, make clean
> and rebuild after you install git once would give you a git
> binary that knows what version it is.

Either I didn't understand your answer or something is wrong with my git installation:

paolo@Italia:~$ cd git/ paolo@Italia:~/git$ git --version git version 1.3.GIT paolo@Italia:~/git$ make >/dev/null paolo@Italia:~/git$ sudo make install >/dev/null Password: GIT_VERSION = 1.3.GIT paolo@Italia:~/git$ git --version git version 1.3.GIT paolo@Italia:~/git$

-- 
Paolo
http://paolociarrocchi.googlepages.com
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 19 in “git --version”
  1. Paolo CiarrocchiMay 30, 2006
  2. Junio C HamanoMay 30, 2006
  3. Paolo CiarrocchiMay 31, 2006
  4. Junio C HamanoMay 31, 2006
  5. Paolo CiarrocchiMay 31, 2006
  6. Paolo CiarrocchiMay 31, 2006
  7. Linus TorvaldsMay 31, 2006
  8. Paolo CiarrocchiMay 31, 2006
  9. Paolo CiarrocchiMay 31, 2006
  10. Linus TorvaldsMay 31, 2006
  11. Paolo CiarrocchiMay 31, 2006
  12. Paolo CiarrocchiMay 31, 2006
  13. Paolo CiarrocchiMay 31, 2006
  14. Linus TorvaldsMay 31, 2006
  15. Paolo CiarrocchiMay 31, 2006
  16. Linus TorvaldsMay 31, 2006
  17. Paolo CiarrocchiMay 31, 2006
  18. Linus TorvaldsMay 31, 2006
  19. Paolo CiarrocchiMay 31, 2006

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.