Skip to content
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

Add option to show untracked files on the diff output #555

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

firefueled
Copy link

This stages the untracked files using the intent-to-add flag, -N.
Essentially, a 0-byte version of the files is staged, allowing the full file to be show as a difference.
This operation is reversed as soon as the diff output is generated by reseting the files back to their untracked status.

This closes #554

This stages the untracked files using the intent-to-add flag, -N.
Essentially, a 0-byte version of the files is staged, allowing the full file to be show as a difference.
This operation is reversed as soon as the diff output is generated by reseting the files back to their untracked status.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Diff doesn't show untracked files
1 participant