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

Re: git worktree add prints to stdout

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Aug 5, 2018, 22:45 UTC
Message-ID
<20180805224536.GA208811@aiede.svl.corp.google.com>
In-Reply-To
<20180805145254.GF2734@hank.intra.tgummerer.com>
Hi,
Thomas Gummerer wrote:
Show 5 quoted lines
> git 2.18.0 should print both of those lines to stdout.  This was done
> to match where 'git reset --hard' prints the 'HEAD is now at...'
> message. See also the thread at [1] where we did make that decision.
>
> [1]: https://public-inbox.org/git/CAPig+cQ8VzDycUMo-QOexNDBgQGEGj2BPmPa-Y0vhGCt_brbhg@mail.gmail.com/
Thanks for the pointer!  And especially:
[...]
Show 6 quoted lines
> I think eventually it would be nice to write all those messages to
> 'stderr', as I think they do make more sense there.  I said I may do
> that at some point in [2], but never got around to it yet.  If you
> want to take a stab at it, feel free :)
>
> [2]: https://public-inbox.org/git/xmqq604rzytx.fsf@gitster-ct.c.googlers.com/
Thanks for this pointer, which captures my feelings pretty well.
Jonathan
Previous: Thomas Gummerer
Message 3 of 3 in “git worktree add prints to stdout”
  1. Karen ArutyunovAug 5, 2018
  2. Thomas GummererAug 5, 2018
  3. Jonathan NiederAug 5, 2018

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.