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

Re: [PATCH] Warn the users when more than 3 '-C' given.

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 10, 2010, 19:12 UTC
Message-ID
<7vochrw285.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1270900308-20147-1-git-send-email-struggleyb.nku@gmail.com>
Bo Yang <struggleyb.nku@gmail.com> writes:
> Output a warning message to users when there are more than
> 3 '-C' options given. And ignore the numeric argument value
> provided by the additional '-C' options.

How were you bitten by the lack of this warning? You gave four or five to see how output would change, spent sleepless nights but couldn't figure out what the differences between third and fourth levels are, and wasted too much time?

IOW, what does this fix?

I personally do not see much value in this patch. It would be just a hindrance to remember to remove this hunk when somebody improves the algorithm to add fourth level of detail to the inspection logic.

Previous: Bo YangNext: Yann Dirson
Message 2 of 3 in “Warn the users when more than 3 '-C' given.”
  1. Warn the users when more than 3 '-C' given.Bo Yang, Apr 10, 2010
  2. Junio C HamanoApr 10, 2010
  3. Yann DirsonApr 12, 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.