{"thread":{"id":"22374","subject":"git-gui: Using \"Stage To Commit\" does not always stage all selected files.","startedAt":"2010-01-24T21:05:03Z","lastAt":"2010-01-24T21:05:03Z","messageCount":1,"participants":["Peter Oberndorfer"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"132560","messageId":"201001242205.03412.kumbayo84@arcor.de","threadId":"22374","inReplyTo":null,"subject":"git-gui: Using \"Stage To Commit\" does not always stage all selected files.","fromName":"Peter Oberndorfer","fromEmail":"kumbayo84@arcor.de","sentAt":"2010-01-24T21:05:03Z","receivedAt":"2010-01-24T21:05:03Z","isPatch":false,"sender":{"key":"kumbayo84@arcor.de","avatar":"https://avatars.githubusercontent.com/u/1041267?v=4"},"body":"Hello,\n\nUsing \"Stage To Commit\" in git-gui does not always stage all selected files.\n\nAfter startup of git-gui the first modified file is automatically selected.\nSelecting another file and then using \"Stage to Commit\" only the second file is actually staged.\n\nIt looks like the reason for this is that selected_paths is not set when a file is automatically selected after startup/refresh/scanning.\n\nHow to reproduce:\necho >> userdiff.h\necho >> userdiff.c\ngit gui&\n-> userdiff.c is automatically selected\nhold Ctrl and select userdiff.h\nCtrl-T\n-> only userdiff.h is staged, userdiff.h remains unstaged\n\nGreetings Peter\n"}]}