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

Re: What's cooking in git.git (Jun 2010, #04; Wed, 23)

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jun 25, 2010, 13:43 UTC
Message-ID
<4C24B291.1040108@drmicha.warpmail.net>
In-Reply-To
<7viq59e6zn.fsf@alter.siamese.dyndns.org>
Junio C Hamano venit, vidit, dixit 24.06.2010 00:09:
Show 7 quoted lines
> 
> * mg/rev-parse-lrbranches-locals (2010-05-14) 1 commit
>  - revlist: Introduce --lrbranches and --locals revision specifiers
>  (this branch uses mg/rev-parse-option-sifter-deprecation.)
> 
> I am reluctant to merge a patch that introduces an unpronounceable
> option.

While I could tell you how to pronounce it, I actually was about to suggest dropping this patch! I don't like the name lrbranches, we have two names (heads/branches) for local branch heads already, and couldn't come up with a better name, available name meaning "all branch heads".

Show 8 quoted lines
> 
> * mg/rev-parse-option-sifter-deprecation (2010-05-14) 3 commits
>  - t6018: make sure all tested symbolic names are different revs
>  - t6018: add tests for rev-list's --branches and --tags
>  - rev-parse: deprecate use as an option sifter
>  (this branch is used by mg/rev-parse-lrbranches-locals.)
> 
> I don't think these patches help anything.  Opinions?
They helped the patch which is going to get dropped...

Besides that: The two test patches improve the tests. t6018 gives the impression to test something which it doesn't (because some symbolic names point to the same rev, so it doesn't test whether rev-parse really resolves all of them), and was lacking coverage for --branches and --tags. So I think those two are independent improvements.

About the "deprecation/discouragement notice" for rev-parse I don't know. rev-parse is not completely in sync with all rev-list options, and doesn't mean to be if I understood correctly. I know that now. As long as nobody cares, nobody cares...

Cheers, Michael

Previous: Ævar Arnfjörð BjarmasonNext: Shawn O. Pearce
Message 23 of 24 in “What's cooking in git.git (Jun 2010, #04; Wed, 23)”
  1. Junio C HamanoJun 23, 2010
  2. Ævar Arnfjörð BjarmasonJun 23, 2010
  3. Nazri RamliyJun 24, 2010
  4. Tay Ray ChuanJun 24, 2010
  5. Finn Arne GangstadJun 24, 2010
  6. Johannes SixtJun 24, 2010
  7. Finn Arne GangstadJun 24, 2010
  8. Eyvind BernhardsenJun 24, 2010
  9. Junio C HamanoJun 24, 2010
  10. Eyvind BernhardsenJun 24, 2010
  11. Junio C HamanoJun 24, 2010
  12. Finn Arne GangstadJun 25, 2010
  13. Eyvind BernhardsenJun 25, 2010
  14. Junio C HamanoJun 25, 2010
  15. Johannes SixtJun 25, 2010
  16. Finn Arne GangstadJun 25, 2010
  17. Johannes SixtJun 24, 2010
  18. git log --objectsHolger Hellmuth, Jun 24, 2010
  19. Santi BéjarJun 25, 2010
  20. Clément PoulainJun 24, 2010
  21. Christian CouderJun 25, 2010
  22. Ævar Arnfjörð BjarmasonJun 25, 2010
  23. Michael J GruberJun 25, 2010
  24. Shawn O. PearceJun 23, 2010

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.