git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com>
To: Bert Wesarg <bert.wesarg@googlemail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git-gui: unstaged changes windowpane resets after unstaging a line
Date: Mon, 1 Apr 2019 14:29:54 +0200	[thread overview]
Message-ID: <CAODFU0pDR0KhZjzJpZCj3W-uFpWfsvq87r_sh4rN=y_Qb-hAhg@mail.gmail.com> (raw)
In-Reply-To: <CAKPyHN1ekK8o8vnBEhvjLtz0G0=FFVkpAH6Qq92TC3E=dXQGfg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

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

[-- Attachment #2: desktop 2019-04-01 14:15:30+02:00.png --]
[-- Type: image/png, Size: 52139 bytes --]

      reply	other threads:[~2019-04-01 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-31 18:44 git-gui: unstaged changes windowpane resets after unstaging a line Jan Ziak
2019-03-31 19:14 ` Bert Wesarg
2019-03-31 19:47   ` Jan Ziak
2019-04-01  6:40     ` Bert Wesarg
2019-04-01 12:29       ` Jan Ziak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAODFU0pDR0KhZjzJpZCj3W-uFpWfsvq87r_sh4rN=y_Qb-hAhg@mail.gmail.com' \
    --to=0xe2.0x9a.0x9b@gmail.com \
    --cc=bert.wesarg@googlemail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).