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

Re: git-gui: unstaged changes windowpane resets after unstaging a line

From
Jan Ziak <0xe2.0x9a.0x9b@gmail.com>
Date
Apr 1, 2019, 12:29 UTC
Message-ID
<CAODFU0pDR0KhZjzJpZCj3W-uFpWfsvq87r_sh4rN=y_Qb-hAhg@mail.gmail.com>
In-Reply-To
<CAKPyHN1ekK8o8vnBEhvjLtz0G0=FFVkpAH6Qq92TC3E=dXQGfg@mail.gmail.com>
On Mon, 1 Apr 2019 at 08:40, Bert Wesarg <bert.wesarg@googlemail.com> wrote:
> Could you try to come up with a recipe from an empty repository?
$ cat a.sh
#!/bin/bash
set -e
git init
for((i=0; i<25; i++)); do
    echo line1 > file$i
done
git add file*
git commit -m "initial commit"
for((i=0; i<25; i++)); do
    echo line2 >> file$i
    echo line3 >> file$i
    echo line4 >> file$i
done
git gui
Run a.sh in a new empty directory, then:
  1. Select "Unstaged Changes" -> file24
  2. Stage line2 & line3 for commit
  3. Select "Staged Changes" -> file24
  4. Unstage line2 from commit (see the attached screenshot)
  5. >>> "Unstaged Changes" windowpane resets <<<

Sincerely Jan

Previous: Bert Wesarg
Message 5 of 5 in “git-gui: unstaged changes windowpane resets after unstaging a line”
  1. Jan ZiakMar 31, 2019
  2. Bert WesargMar 31, 2019
  3. Jan ZiakMar 31, 2019
  4. Bert WesargApr 1, 2019
  5. Jan ZiakApr 1, 2019

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.