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

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

From
Yann Simon <yann.simon.fr@gmail.com>
Date
Feb 23, 2009, 09:32 UTC
Message-ID
<551f769b0902230132l6fd70f20xa3d59a5df6768395@mail.gmail.com>
In-Reply-To
<200902221738.40753.robin.rosenberg.lists@dewire.com>
2009/2/22 Robin Rosenberg <robin.rosenberg.lists@dewire.com>:
Show 8 quoted lines
> 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".

Yes, you're right. I can change the labels to: CompareWithIndexAction_label=Git Index CompareWithIndexAction_tooltip=Compare with Git's index version

Show 8 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.

Yes of course. In that case, we would need to display a tree of modifications. That could be done in a second step.

-- yann
Previous: Robin Rosenberg
Message 3 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.