git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* BUG: On some Linux systems, "Stage To Commit" hotkey in git-gui stages one file only, even if multiple files are selected
@ 2018-02-07 13:29 Birger Skogeng Pedersen
  2018-02-07 18:11 ` Eric Sunshine
  0 siblings, 1 reply; 2+ messages in thread
From: Birger Skogeng Pedersen @ 2018-02-07 13:29 UTC (permalink / raw)
  To: git

In git-gui, multiple files from the "Unstaged Changes" widget can be
selected. Once multiple files are selected, they can be staged by
clicking (toolbar) "Commit"->"Stage To Commit". All the files that
were selected then gets staged for the commit. The "Stage To Commit"
hotkey (CTRL+T) behaves like the command itself, staging all files
that are selected (Tested on Windows 10).
However, on some linux systems (currently tested on Ubuntu 17.10),
only one file (the most recently selected) gets staged when using the
"Stage To Commit" hotkey (CTRL+T), while the other, selected files
remain unstaged.

Steps to reproduce (on Ubuntu 17.10):
- Open git-gui in a repository with two or more unstaged, changed files
- Select two or more files in the "Unstaged Changes"
- Click CTRL+T to stage the files that you have selected
(Only a single file will get staged)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG: On some Linux systems, "Stage To Commit" hotkey in git-gui stages one file only, even if multiple files are selected
  2018-02-07 13:29 BUG: On some Linux systems, "Stage To Commit" hotkey in git-gui stages one file only, even if multiple files are selected Birger Skogeng Pedersen
@ 2018-02-07 18:11 ` Eric Sunshine
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Sunshine @ 2018-02-07 18:11 UTC (permalink / raw)
  To: Birger Skogeng Pedersen; +Cc: Git List

On Wed, Feb 7, 2018 at 8:29 AM, Birger Skogeng Pedersen
<birger.sp@gmail.com> wrote:
> Steps to reproduce (on Ubuntu 17.10):
> - Open git-gui in a repository with two or more unstaged, changed files
> - Select two or more files in the "Unstaged Changes"
> - Click CTRL+T to stage the files that you have selected
> (Only a single file will get staged)

This was fixed in Git 2.16.0.

76756d6706 (git-gui: allow Ctrl+T to toggle multiple paths, 2018-01-09)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-07 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07 13:29 BUG: On some Linux systems, "Stage To Commit" hotkey in git-gui stages one file only, even if multiple files are selected Birger Skogeng Pedersen
2018-02-07 18:11 ` Eric Sunshine

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).