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

Re: [PATCH] git-reset --hard: use quotes when we tell the user what HEAD was reset to

From
Andy Whitcroft <apw@shadowen.org>
Date
Jan 8, 2007, 08:33 UTC
Message-ID
<45A201ED.8030003@shadowen.org>
In-Reply-To
<7vfyam1r18.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 24 quoted lines
> "Fredrik Kuivinen" <frekui@gmail.com> writes:
> 
>>>>     I think we need to delimit the name better, probabally we need to quote
>>>>     it.  Perhaps something like:
>>>>
>>>>     HEAD is now at ac9c110: "git-fetch: remove .keep file at the end".
>>> ...
>> I don't think the second point is much of an issue. Is it really that
>> irritating to
>> read a word-wrapped line of text? I agree with the first point though, in most
>> cases it will not be a problem in other projects.
>>
>> I still think it is worth doing it, but it certainly isn't super
>> important. Feel free
>> to drop the patch if you want to.
> 
> I do not care much either way, but the third point is that the
> quoted output would look "interesting" if the original title
> text has double-quoted words.  I.e.
> 
>     HEAD is now at 9945d98: "Add "--cacheinfo" option to update-cache."
> 
> Notice also your hand-wrapped example has the final full-stop
> outside the quote, which your patch would not produce ;-).

Heh, well perhaps I should use the original for a while longer and see if I get used to it. Of course I mostly use git on git and linux which both tend to have "error" in their titles :).

-apw
Previous: Junio C Hamano
Message 5 of 5 in “git-reset --hard: use quotes when we tell the user what HEAD was reset to”
  1. git-reset --hard: use quotes when we tell the user what HEAD was reset toFredrik Kuivinen, Jan 6, 2007
  2. Junio C HamanoJan 6, 2007
  3. Fredrik KuivinenJan 7, 2007
  4. Junio C HamanoJan 7, 2007
  5. Andy WhitcroftJan 8, 2007

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.