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

Re: [PATCH] Stop telling users we are 'defaulting to local storage area'.

From
Shawn Pearce <spearce@spearce.org>
Date
Dec 15, 2006, 02:25 UTC
Message-ID
<20061215022543.GL26202@spearce.org>
In-Reply-To
<Pine.LNX.4.64.0612142059301.18171@xanadu.home>
Nicolas Pitre <nico@cam.org> wrote:
> On Thu, 14 Dec 2006, Shawn O. Pearce wrote:
> > It also breaks from our normal behavior of not printing
> > anything if the command was successful.
Show 9 quoted lines
> I really don't think this is a good rule.
> 
> NOte that I'm not against commands that are silent by default.  I really 
> think that git-add should remain silent on success by default when 
> successful.
> 
> But the rule of thumb should be about the importance of the action 
> performed by the command.
> But git-init-db is really important.  
A very reasonable argument, butchered for my evil quoting needs.  :-)

If we want to keep letting git-init-db output something, then the output should be a lot more meaningful to the average English speaking new Git user than "defaulting to local storage area".

E.g.:
  $ git init-db
  Initialized empty Git repository in .git/

would probably make a lot more sense to new and expert users alike. I'm fine with the above form, I just think that the message we have now could benefit from being sent to the land from which there is no return, or be rewritten...

BTW, I almost also submitted a patch to remove the "Committing initial tree ..." message in git-commit-tree, but thought twice about it as committing an initial tree is sort of an important difference from normal activity that we should highlight it somehow...

Previous: Nicolas PitreNext: David Lang
Message 3 of 5 in “Stop telling users we are 'defaulting to local storage area'.”
  1. Stop telling users we are 'defaulting to local storage area'.Shawn O. Pearce, Dec 14, 2006
  2. Nicolas PitreDec 15, 2006
  3. Shawn PearceDec 15, 2006
  4. David LangDec 19, 2006
  5. Jakub NarebskiDec 15, 2006

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.