-
-
Notifications
You must be signed in to change notification settings - Fork 607
Staging lines doesn’t stage #1580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Okay, I’ll try again and will provide more information. |
I tried with a fresh build with |
@phaazon is this maybe the case for new files in your repo? I reproduced such behavior with a new file (more precisely, a file that is untracked). @extrawurst is this expected for untracked files or should it be possible to stage such lines? I can make PR if needed. |
This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Just tried gitui for the first time and this threw me off at first. It does seem like this only happens if a file is untracked, so you would have to stage the entire file first then un-stage the lines you don't want. This only happens the first time but is definitely annoying. @extrawurst Does this sound like a bug or is it intentional? |
Yeah sorry I don’t really use And yeah, it doesn’t work on untracked files. |
Describe the bug
Pressing
s
or any mapped key ondiff_stage_lines
doesn’t stage anything. However, it does unstage.To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should stage.
Screenshots
N/A
Context (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: