Inform user that selecting individual lines to commit isn't possible.
See original GitHub issueDescribe the feature or problem you’d like to solve
Enabling Hide Whitespace Changes
prevents you from selecting individual lines to commit.
There is information about this in the UI where the feature is enabled, but that is not enough in my opinion.
There is a big chance you don’t remember that little piece of information, and also there is no indicator that Hide Whitespace Changes
is enabled.
Proposed solution
Show a popup or similar (with a Sorry, you can't select individual lines while Hide Whitespace Changes is enabled.
message) when trying to select individual lines & hide whitespace is enabled.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Allow commiting only specific lines : IDEA-186988 - YouTrack
Well yes, but actually no. Yes you can select the lines to commit, but actually you can't split chunks of these lines. If...
Read more >Commit only part of a file's changes in Git - Stack Overflow
1. Hunk wise: Select the file from unstagged Changes section; Right click chunk of code which needs to be staged; Select Stage Hunk...
Read more >lock the file/line selection controls while a commit is running
In a project with a slow pre-commit hook, do a partial commit (just select certain files and/or lines, and then click Commit) ·...
Read more >Is it possible to commit individual source lines in git from ...
All source control software works on files, not lines (internally they will extract the lines that have changed and store them).
Read more >git-commit Documentation - Git
Construct a commit message for use with rebase --autosquash . The commit message subject line is taken from the specified commit with a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry guys this is my fault, I mean even more ideally we’d find a way to make single select work with hide whitespace on or off but alas its something rather hard to solve
Hello! 👋
We just released version 2.9.4 which includes an improvement @niik beautifully crafted for this 😍 We hope it makes this scenario much clearer now! 😄