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

Re: Joining cg-*-id

From
Petr Baudis <pasky@suse.cz>
Date
Sep 20, 2005, 00:26 UTC
Message-ID
<20050920002630.GA13537@pasky.or.cz>
In-Reply-To
<1127175590.31115.10.camel@dv>

Dear diary, on Tue, Sep 20, 2005 at 02:19:50AM CEST, I got a letter where Pavel Roskin <proski@gnu.org> told me that...

> As for merging, I see that the existing *-id scripts are a mess.  For
> instance, cg-parent returns parents separated by spaces, but cg-diff
> used "head -1" on its output to get the first parent, i.e it assumes
> newline separated output.

Actually, cg-parent-id's documentation seems to be wrong. We always return only the first parent. I've just updated the documentation for now, even though in the future we might want to change this to reflect the original documentation instead.

> Another thing that is broken is "cg-commit-id origin^" - apparently the
> "^" parsing is only designed for cg-parent-id.
That's a bug, IIRC it was originally meant to be general.
> I think I'll start a local branch for fixing this, and then I'll send
> separate patches.
Good idea.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Pavel Roskin
Message 22 of 22 in “Joining cg-*-id”
  1. Pavel RoskinSep 19, 2005
  2. Petr BaudisSep 19, 2005
  3. Linus TorvaldsSep 19, 2005
  4. Petr BaudisSep 19, 2005
  5. Linus TorvaldsSep 20, 2005
  6. Petr BaudisSep 20, 2005
  7. Linus TorvaldsSep 20, 2005
  8. Petr BaudisSep 20, 2005
  9. Linus TorvaldsSep 20, 2005
  10. Linus TorvaldsSep 20, 2005
  11. Paul MackerrasSep 21, 2005
  12. Linus TorvaldsSep 21, 2005
  13. Paul MackerrasSep 21, 2005
  14. Petr BaudisSep 21, 2005
  15. Matthias UrlichsSep 20, 2005
  16. Junio C HamanoSep 20, 2005
  17. Matthias UrlichsSep 20, 2005
  18. Paul MackerrasSep 20, 2005
  19. Pavel RoskinSep 19, 2005
  20. Petr BaudisSep 19, 2005
  21. Pavel RoskinSep 20, 2005
  22. Petr BaudisSep 20, 2005

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.