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

Re: git-gui problem with version number.

From
David Kastrup <dak@gnu.org>
Date
Jul 27, 2007, 07:42 UTC
Message-ID
<86k5smnvhw.fsf@lola.quinscape.zz>
In-Reply-To
<85ejiu5r9r.fsf@lola.goethe.zz>
David Kastrup <dak@gnu.org> writes:
Show 19 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes:
>
>> David Kastrup <dak@gnu.org> wrote:
>>> "Shawn O. Pearce" <spearce@spearce.org> writes:
>>> > Anyway, you can setup a build with the most recent 'stable
>>> > development' version of git-gui:
>>> >
>>> >   git checkout -b with-new-gitgui
>>> >   git pull -s subtree git://repo.or.cz/git-gui.git
>>> 
>>> Ok.  Would the necessity for this depend on the Tcl version?
>>
>> I thought all versions of Tcl did not understand the 'creative'
>> git version strings.  So I'm surprised to hear it works on one
>> system but not on another, even though you have the same version
>> of git and git-gui.
>
> I'll check once I am at work, but I am pretty sure that the versions
> are pretty much in synch.

Now that is funny. I am pretty sure (or rather _have_ been pretty sure) that I cloned the respective repositories with the same command. Yet now both are up-to-date according to git-pull (and have identical .config contents), and the first compiles version git version 1.5.3.rc2.41.gb47b1 while the second compiles version 1.5.3.rc3.7.gd58e-dirty. Both have been cloned from git.git, the second with

* master
  origin/HEAD
  origin/html
  origin/maint
  origin/man
  origin/master
  origin/next
  origin/pu
  origin/todo
and the first with
* master
  origin/HEAD
  origin/html
  origin/maint
  origin/man
  origin/master
  origin/next
  origin/pu
  origin/todo

On the one with the problematic version, I get git-rev-list -2 origin/HEAD |git-name-rev --stdin d58e8d34b019d435b424811c6f972910dfac6f55 (master) 1a44be9a0ff6fa623ff6061992f5ad1831dc7cab (master~1)

and on the other one I get git-rev-list -2 origin/HEAD |git-name-rev --stdin d58e8d34b019d435b424811c6f972910dfac6f55 (remotes/origin/HEAD) 1a44be9a0ff6fa623ff6061992f5ad1831dc7cab (remotes/origin/HEAD~1)

git-rev-list -2 master |git-name-rev --stdin 0d59d6cfd3ed2510a8e7d8c9fbc54c21133bc3a6 (master) d58e8d34b019d435b424811c6f972910dfac6f55 (remotes/origin/HEAD)

So let me guess: the "dirty" in the version number comes about when one has changes that are not in the upstream version, and it is this string which confuses git-gui?

But then the version numbers are _so_ different. I probably am overlooking something.

-- 
David Kastrup
Previous: David KastrupNext: David Kastrup
Message 8 of 11 in “git-gui problem with version number.”
  1. David KastrupJul 26, 2007
  2. Shawn O. PearceJul 27, 2007
  3. David KastrupJul 27, 2007
  4. Shawn O. PearceJul 27, 2007
  5. David KastrupJul 27, 2007
  6. Shawn O. PearceJul 27, 2007
  7. David KastrupJul 27, 2007
  8. David KastrupJul 27, 2007
  9. David KastrupJul 27, 2007
  10. Shawn O. PearceJul 29, 2007
  11. David KastrupJul 29, 2007

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.