From: Peter Oberndorfer <kumbayo84@arcor.de>
To: Git Mailing List <git@vger.kernel.org>
Subject: git-gui: Using "Stage To Commit" does not always stage all selected files.
Date: Sun, 24 Jan 2010 22:05:03 +0100 [thread overview]
Message-ID: <201001242205.03412.kumbayo84@arcor.de> (raw)
Hello,
Using "Stage To Commit" in git-gui does not always stage all selected files.
After startup of git-gui the first modified file is automatically selected.
Selecting another file and then using "Stage to Commit" only the second file is actually staged.
It looks like the reason for this is that selected_paths is not set when a file is automatically selected after startup/refresh/scanning.
How to reproduce:
echo >> userdiff.h
echo >> userdiff.c
git gui&
-> userdiff.c is automatically selected
hold Ctrl and select userdiff.h
Ctrl-T
-> only userdiff.h is staged, userdiff.h remains unstaged
Greetings Peter
reply other threads:[~2010-01-24 21:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201001242205.03412.kumbayo84@arcor.de \
--to=kumbayo84@arcor.de \
--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.
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 NNTP newsgroup(s).