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

Re: [PATCH] Bugfix: stop if directory already exists

From
Junio C Hamano <junkio@cox.net>
Date
Nov 14, 2005, 08:57 UTC
Message-ID
<7vpsp3zjwm.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200511131503.32078.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
> Fix a typo: We do not want to run the directory as command,
> and want to terminate if the directory exists
> Additionally, update the usage message
Thanks.
> Should we use "git clone" or "git-clone" in the usage message?

I think "git clone" is probably preferred, given that we would eventually want to be able to install them outside /usr/bin/, leaving "git" wrapper (and very small number of other programs) in /usr/bin/.

>  usage: git clone ...
>  For more details, see 'man git-clone'

My understanding of UNIX tradition of "usage:" is to be short and sweet, to primarily help people who already know the command but sometimes cannot remember how exactly the options are spelled (e.g. "was that -F to specify the inter-field separator to "sort" command? Ah, no, it wants -t -- silly me must be doing too much awk these days"). And "for more details see man" goes without saying.

Previous: Josef WeidendorferNext: Andreas Ericsson
Message 2 of 8 in “Bugfix: stop if directory already exists”
  1. Bugfix: stop if directory already existsJosef Weidendorfer, Nov 13, 2005
  2. Junio C HamanoNov 14, 2005
  3. Andreas EricssonNov 14, 2005
  4. Josef WeidendorferNov 14, 2005
  5. Andreas EricssonNov 14, 2005
  6. Junio C HamanoNov 14, 2005
  7. Josef WeidendorferNov 14, 2005
  8. Andreas EricssonNov 14, 2005

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.