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 guiRun 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