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

Re: Bug - added changes are not shown in the diff view anymore ( not added

From
BMBruno Moreira-Guedes <brunodout.dev@gmail.com>
Date
Oct 19, 2021, 02:47 UTC
Message-ID
<d7de2654254a8b542deda4b11475bc919b87c3f9.camel@gmail.com>
In-Reply-To
<7d2751d1-949e-cc90-4063-f9f576c6febf@gmx.net>
On Mon, 2021-10-18 at 16:40 +0200, Raphael Biersbach wrote:
Show 7 quoted lines
> 
> Greetings,
> 
> when using gitk I am encountering this bug:
> 
> - added changes are not shown in the diff view anymore ( not added
> changes and commits are fine)
I tried to reproduce through with the version on "master" branch
with the following steps:
1. I have written a new file with some short text
2. I added it to index with `git add`
3. I ran gitk
4. I went to the top point in the graph, "Local changes checked
in to index but not commited"
5. I verified Diff option was checked
I got precisely what I would expect:
   Author:   
   Committer:   
   Parent: 9b803221a51430fc491a4b3536bb8a1088c1af6e (Update
   README.md)
   Branch: 
   Follows: 
   Precedes: 
   
       Local changes checked in to index but not committed
   
   ----------------------- test.txt -----------------------
   new file mode 100644
   index 0000000..9daeafb
   @@ -0,0 +1 @@
   +test

If I did something different from what you have in mind, could you please add the steps you can do to reproduce the problem? Also, could you check if the reported behavior appears on git's latest version (from "master" branch)?

Show 7 quoted lines
> 
> git version 2.33.0
> 
> running on 5.10.70-1-MANJARO , window manager i3
> 
> 
> Raphael Biersbach
Previous: Raphael Biersbach
Message 2 of 2 in “Bug - added changes are not shown in the diff view anymore ( not added”
  1. Raphael BiersbachOct 18, 2021
  2. Bruno Moreira-GuedesOct 19, 2021

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.