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

Re: [v3 PATCH 2/2] reset: add tests for git reset -

From
Kevin D <me@ikke.info>
Date
Mar 19, 2015, 22:16 UTC
Message-ID
<20150319221652.GE11832@vps892.directvps.nl>
In-Reply-To
<1426667709-26698-1-git-send-email-dyoucme@gmail.com>
On Wed, Mar 18, 2015 at 02:05:09PM +0530, Sundararajan R wrote:
Show 5 quoted lines
> The failure case which occurs on teaching git is taught the '-' shorthand
> is when there exists no branch pointed to by '@{-1}'. But, if there is a file
> named - in the working tree, the user can be unambiguously assumed to be 
> referring to it while issuing this command.
> 

The first line is hard to read. I think the "is taught" part is redundant.

Previous: Matthieu MoyNext: Kevin D
Message 3 of 4 in “reset: add tests for git reset -”
  1. 2/2 reset: add tests for git reset -Sundararajan R, Mar 18, 2015
  2. Matthieu MoyMar 18, 2015
  3. Kevin DMar 19, 2015
  4. Kevin DMar 20, 2015

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.