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

Possible BUG with git-rev-list --all in a StGit repository

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Nov 26, 2006, 16:27 UTC
Message-ID
<e5bfff550611260827t686a5071w7f050f17f784e5d9@mail.gmail.com>

In a StGit repository the --all option causes a lot of spurious revisions, possibly stgit related.

$ git branch
* master
  origin
  test
$ git rev-list master origin test -- src/settingsimpl.cpp | wc
     13      13     533
$ git rev-list --all -- src/settingsimpl.cpp | wc
     26      26    1066
The extra revisions have shortlogs of the kind of:
 push        a3bc76fd0bdd154149c26a3c208f0344e9cd873b
 new e7baf56544cd8b4f8601a35fad274b8de97fd558
refresh     8fa01a56a40b04ed9c6d006c669ca9d370176728

From qgit these are easily seen from file history tab of a file modified by stgit patches or when filtering in main view on the same file.

Shouldn't 'git-rev-list --all' print *the same output* of when the list with all branches is given in command line?

Thanks Marco

P.S: $ git version git version 1.4.4.1.g7002 $ stg --version Stacked GIT 0.11 git version 1.4.4.1.g7002 Python version 2.4.3 (#2, Oct 6 2006, 15:32:41)

Next: Junio C Hamano
Message 1 of 10 in “Possible BUG with git-rev-list --all in a StGit repository”
  1. Marco CostalbaNov 26, 2006
  2. Junio C HamanoNov 26, 2006
  3. Marco CostalbaNov 27, 2006
  4. Marco CostalbaNov 27, 2006
  5. Junio C HamanoNov 27, 2006
  6. revision traversal: Add --refs=<pattern> optionSergey Vlasov, Nov 27, 2006
  7. Junio C HamanoNov 27, 2006
  8. Marco CostalbaNov 28, 2006
  9. Junio C HamanoNov 28, 2006
  10. Marco CostalbaNov 28, 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.