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

Re: What's cooking in git.git (Apr 2019, #02; Wed, 10)

From
Christian Couder <christian.couder@gmail.com>
Date
Apr 11, 2019, 15:06 UTC
Message-ID
<CAP8UFD2KsjPo7G0BtzXfA3gyoUyR7y_WsNLm3mn39O8h4n+Kfw@mail.gmail.com>
In-Reply-To
<xmqqr2ab2gs6.fsf@gitster-ct.c.googlers.com>
On Tue, Apr 9, 2019 at 8:08 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> * cc/replace-graft-peel-tags (2019-04-01) 4 commits
>  - replace: fix --graft when passing a tag first
>  - replace: fix --graft when passing a tag as parent
>  - t6050: redirect expected error output to a file
>  - t6050: use test_line_count instead of wc -l
>
>  When given a tag that points at a commit-ish, "git replace --graft"
>  failed to peel the tag before writing a replace ref, which did not
>  make sense because the old graft mechanism the feature wants to
>  mimick only allowed to replace one commit object with another.
>  This has been fixed.
>
>  The title of the top two commits are fairly useless and does not
>  say how the issue was fixed, but the fix is to peel the given tag
>  ourselves down to the underlying commit object.
I can send a new version where the top two commits have the following titles:
  - replace: peel tag when passing a tag first to --graft
  - replace: peel tag when passing a tag as parent to --graft
I am also ok with you changing the titles, as you prefer.
Thanks!
Previous: Johannes SchindelinNext: Junio C Hamano
Message 16 of 17 in “What's cooking in git.git (Apr 2019, #02; Wed, 10)”
  1. Junio C HamanoApr 9, 2019
  2. Denton LiuApr 9, 2019
  3. Junio C HamanoApr 10, 2019
  4. Thomas GummererApr 9, 2019
  5. Junio C HamanoApr 10, 2019
  6. Thomas GummererApr 10, 2019
  7. Johannes SchindelinApr 10, 2019
  8. Todd ZullingerApr 10, 2019
  9. Phillip WoodApr 10, 2019
  10. Johannes SchindelinApr 10, 2019
  11. Mazo, AndreyApr 10, 2019
  12. nd/switch-and-restore, was Re: What's cooking in git.git (Apr 2019, #02; Wed, 10)Johannes Schindelin, Apr 10, 2019
  13. dl/warn-tagging-a-tag, was Re: What's cooking in git.git (Apr 2019, #02; Wed, 10)Johannes Schindelin, Apr 10, 2019
  14. Junio C HamanoApr 12, 2019
  15. jh/trace2-sid-fix, was Re: What's cooking in git.git (Apr 2019, #02; Wed, 10)Johannes Schindelin, Apr 10, 2019
  16. Christian CouderApr 11, 2019
  17. Junio C HamanoApr 14, 2019

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.