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

next-status result rendering could be better aligned with Git's #640

Closed
mih opened this issue Feb 18, 2024 · 0 comments · Fixed by #679
Closed

next-status result rendering could be better aligned with Git's #640

mih opened this issue Feb 18, 2024 · 0 comments · Fixed by #679

Comments

@mih
Copy link
Member

mih commented Feb 18, 2024

Example (git st is an alias to datalad next-status -r mono)

image

For anyone looking at Git output frequently the first set of outputs has no indication that all these modifications are staged already. Only the "added" seems almost arbitrarily green.

It would make sense to follow Git and color by index-status.

mih added a commit to mih/datalad-next that referenced this issue May 7, 2024
The previous setup used red/green (like git-status) to communicate
the nature of a change. But that was poorly aligned. See
datalad#640

This change does NOT align with Git's behavior. Instead, it acknowledges
even more that DataLad does not work with Git's staging of content in
the index.

Color coding is now purely about the nature of the change (add, delete,
mod, untracked), and not its status with respect to the index.

Closes datalad#640
@mih mih closed this as completed in #679 May 7, 2024
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 a pull request may close this issue.

1 participant