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

AW: Git revert cannot be aborted if the repository directory has been copied

From
MSMarco Stephan <marc.stephan96@hotmail.de>
Date
Nov 7, 2024, 19:52 UTC
Message-ID
<VI1PR02MB4991B262D45E1DE143494F13E65C2@VI1PR02MB4991.eurprd02.prod.outlook.com>
In-Reply-To
<c1a8eb10-ac62-49f2-a40e-36c41bbdc991@gmail.com>
On Sun, Nov 4, 2024, at 10:55, Phillip Wood wrote:
> "git revert --abort" is a wrapper around "git reset --merge" so I wonder
> if we should change "git reset --merge" to refresh the index.
In my novice opinion I agree. If "git revert --abort" is just a wrapper for "git reset --merge" then I think "git reset --merge" should itself refresh the index. Other commands (e.g. "git cherry-pick --abort") seem to perform a refresh as well.
Previous: Phillip Wood
Message 8 of 8 in “Git revert cannot be aborted if the repository directory has been copied”
  1. Marco StephanNov 3, 2024
  2. Junio C HamanoNov 3, 2024
  3. Kristoffer HaugsbakkNov 3, 2024
  4. Kristoffer HaugsbakkNov 3, 2024
  5. Kristoffer HaugsbakkNov 3, 2024
  6. AW: Git revert cannot be aborted if the repository directory has been copiedMarco Stephan, Nov 3, 2024
  7. Phillip WoodNov 4, 2024
  8. AW: Git revert cannot be aborted if the repository directory has been copiedMarco Stephan, Nov 7, 2024

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.