Skip to content

Missing (un)stage lines actions above the editor #24052

Closed

Description

  • VSCode Version: Code 1.11.0 (9122ec4, 2017-04-05T20:52:01.201Z)
  • OS Version: Darwin x64 16.5.0
  • Extensions:
Extension Author Version
code-gnu-global austin 0.2.1
git-easy bibhasdn 1.9.1
githistory donjayamanne 0.2.0
CppSnippets hars 0.0.7
vscode-rust kalitaalexey 0.3.11
vscode-clang mitaki28 0.2.2
cpptools ms-vscode 0.10.5
annotator ryu1kn 0.10.1
rewrap stkb 1.3.0
vscode-lldb vadimcn 0.4.0
gitblame waderyan 1.3.0

Steps to Reproduce:

  1. Make changes to a file in different area
  2. Go to source control view
  3. Click on the file, this show a side by side view of the changes.
  4. You can no longer stage individual lines to commit partial changes.

massive regression 👎

Activity

  1. jyavenard commented on Apr 6, 2017

    @jyavenard
    Author

    For now, reverting to 1.10.2.

    Stage selected line is shown in the upper right menu, along Revert Selected Line

  2. kaiwood commented on Apr 6, 2017

    @kaiwood

    Just checked, Jean-Yves Avenard (@jyavenard) is right, it's no longer in the upper right menu.

    But:

    Jean-Yves Avenard (@jyavenard): You can still use it from the command palette and/or assign a keyboard shortcut to it. Just search for Git: Stage Selected Ranges / Git Unstage Selected Ranges, commands to bind are git.stageSelectedRanges / git.unstageSelectedRanges.

  3. joaomoreno commented on Apr 6, 2017

    @joaomoreno
    Contributor

    For (un)staging single lines: #21513

    I'll keep this issue open for having them in the top-right menu.

  4. added
    bug
    on Apr 6, 2017
  5. changed the title [-]Can no longer stage individual lines when using git[/-] [+]Missing (un)stage lines actions above the editor[/+] on Apr 6, 2017
  6. wesleyeff commented on Apr 12, 2017

    @wesleyeff

    Why is this closed? "Stage selected range" Doesn't do the same thing as "stage selected lines". If I have 5 lines in a row and only want to stage 4/5, I can't do that anymore because it stages the whole block.

  7. joaomoreno commented on Apr 12, 2017

    @joaomoreno
    Contributor

    Wesley Fredrickson (@wesleyeff) Neither this issue nor #21513 is closed.

  8. avimar commented on Apr 23, 2017

    @avimar

    Seems like a major regression to me, I often don't stage the entire file. Please bring this back!

    (Of note: "stage selected lines" is much less accessible than "stage the whole file". Frankly, I expected a + button or something on the margin of the affected modified lines, rather than having to find it in a drop down.)

  9. Tev-work commented on May 29, 2017

    @Tev-work

    I miss the button a lot, especially as importing shortcuts for new installation on mac is not an option for me - I'm still getting used to system shortcuts (I'm usually using win/linux), those are annoying enough for now.

  10. locked and limited conversation to collaborators on Nov 18, 2017
  11. added a commit that references this issue on Sep 6, 2026
    6b5c1f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buggitverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions