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

Re: [PATCH JGIT] Add "compare with index" action.

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Feb 22, 2009, 16:38 UTC
Message-ID
<200902221738.40753.robin.rosenberg.lists@dewire.com>
In-Reply-To
<499E67CD.9020501@gmail.com>
fredag 20 februari 2009 09:20:29 skrev Yann Simon <yann.simon.fr@gmail.com>:
> In the Compare With... menu, the "compare with index" action opens
> a diff editor that compares the workspace version of a file and its
> index version.

The appearance in the menu is a bit odd. "Compare with" is already in the menu context as that is the name of the menu that hold the Compare with index. So the menu name should be really be just "Git Index".

Show 5 quoted lines
> The local file can be modified and saved.
>
> The staged version can be modified and saved. This updates the index.
> For this, add methods into GitIndex to allow to specify a content
> different from the file.

One would expect this feature to work at any level of the project, not just files. That won't be a showstopper though.

-- robin
Previous: Yann SimonNext: Yann Simon
Message 2 of 3 in “Add "compare with index" action.”
  1. Add "compare with index" action.Yann Simon, Feb 20, 2009
  2. Robin RosenbergFeb 22, 2009
  3. Yann SimonFeb 23, 2009

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.