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

Possible regression in git-rev-list --header

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Dec 30, 2006, 17:56 UTC
Message-ID
<e5bfff550612300956mef4691fqf607fad173c571da@mail.gmail.com>

When 'commitencoding' variable is set in config file then git-rev-list called with --header option sends also the encoding information.

$ git rev-list --header -n1 HEAD 6d751699cb04150abd79a730187d4e2ed6330c05 tree 70209eebdc59d108948feb15c3c5497f299ef290 parent 49a8186d7352d0454df79b289fecb18c8e535c32 author Marco Costalba <mcostalba@gmail.com> 1167500660 +0100 committer Marco Costalba <mcostalba@gmail.com> 1167500660 +0100 encoding UTF-8

    Test commit
    Let's see what git-rev-list --header spits out.
    Signed-off-by: Marco Costalba <mcostalba@gmail.com>

$ git --version git version 1.5.0.rc0.g1ed48

This is very unfortunate because qgit parsing routine it's totally broken after this change. Please revert the patch, or at least make git-rev-list --header quiet as default, IOW add an option --show-encoding that defaults to disabled.

Sorry to ask you this but _all_ the qgit users out there will see a broken main view revision's list for all the commits created after the patch went in.

Thanks Marco

Next: Jakub Narebski
Message 1 of 26 in “Possible regression in git-rev-list --header”
  1. Marco CostalbaDec 30, 2006
  2. Jakub NarebskiDec 30, 2006
  3. Johannes SchindelinDec 30, 2006
  4. Junio C HamanoDec 30, 2006
  5. Junio C HamanoDec 30, 2006
  6. Johannes SchindelinDec 31, 2006
  7. Junio C HamanoDec 31, 2006
  8. Marco CostalbaDec 31, 2006
  9. Johannes SchindelinDec 31, 2006
  10. Marco CostalbaDec 31, 2006
  11. Junio C HamanoJan 1, 2007
  12. Johannes SchindelinJan 2, 2007
  13. Junio C HamanoJan 2, 2007
  14. Johannes SchindelinJan 2, 2007
  15. Marco CostalbaJan 2, 2007
  16. Marco CostalbaJan 3, 2007
  17. Junio C HamanoJan 3, 2007
  18. Lars HjemliJan 3, 2007
  19. Marco CostalbaJan 3, 2007
  20. Lars HjemliJan 3, 2007
  21. Andreas EricssonJan 4, 2007
  22. Andreas EricssonJan 4, 2007
  23. Lars HjemliJan 3, 2007
  24. Johannes SchindelinDec 31, 2006
  25. Move commit reencoding parameter parsing to revision.cJunio C Hamano, Dec 30, 2006
  26. Johannes SchindelinDec 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.