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

tr/pty-all (Re: What's cooking in git.git (Dec 2011, #04; Tue, 13))

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Dec 14, 2011, 07:09 UTC
Message-ID
<20111214070916.GA14954@elie.hsd1.il.comcast.net>
In-Reply-To
<7vobvcrlve.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 6 quoted lines
> * tr/pty-all (2011-12-12) 3 commits
>  - t/lib-terminal: test test-terminal's sanity
>  - test-terminal: set output terminals to raw mode
>  - test-terminal: give the child an empty stdin TTY
>
> Will merge to 'next' after taking another look.

The middle commit looks good. The bottom commit could be improved as discussed at [1], but I guess that can happen in-tree.

However, the top commit ("test test-terminal's sanity") still does not seem right to me.

It makes the same test run three times. Probably I should send an alternate patch to get that sanity-check to run once, but I am also not convinced the sanity-check is needed at all --- wouldn't any test that is relying on output from test_terminal act as a sanity check for it already?

As an aside, I also still believe that running "git shortlog" without explicitly passing "HEAD" when testing how it reacts to [core] pager configuration was a bug and a distraction, hence the patch at [2]. Am I the only one? I also find Jeff's patch [3] appealing.

Thanks, Jonathan

[1] http://thread.gmane.org/gmane.comp.version-control.git/186923/focus=186944 [2] http://article.gmane.org/gmane.comp.version-control.git/186932 [3] http://article.gmane.org/gmane.comp.version-control.git/186936

Previous: Junio C HamanoNext: Thomas Rast
Message 2 of 12 in “What's cooking in git.git (Dec 2011, #04; Tue, 13)”
  1. Junio C HamanoDec 14, 2011
  2. tr/pty-all (Re: What's cooking in git.git (Dec 2011, #04; Tue, 13))Jonathan Nieder, Dec 14, 2011
  3. Thomas RastDec 14, 2011
  4. Junio C HamanoDec 14, 2011
  5. Jeff KingDec 14, 2011
  6. Jeff KingDec 14, 2011
  7. Jonathan NiederDec 14, 2011
  8. Jeff KingDec 15, 2011
  9. Jeff KingDec 15, 2011
  10. Junio C HamanoDec 15, 2011
  11. Jeff KingDec 15, 2011
  12. Junio C HamanoDec 15, 2011

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.