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

The meaning of the letters used to show git status are not documented #778

Closed
ariasuni opened this issue Dec 30, 2020 · 5 comments
Closed
Assignees
Labels
community › docs Documentation stuff

Comments

@ariasuni
Copy link
Collaborator

ariasuni commented Dec 30, 2020

exa displays two columns, representing the staged and unstaged states. Meaning of symbols by reading the source code:

  • Not modified: -
  • New: N
  • Modified: M
  • Deleted: D
  • Renamed: R,
  • Type changed: T
  • Ignored: I
  • Conflicted: U (unmerged)

This should be added exa’s documentation.

@msorens
Copy link

msorens commented Jan 11, 2021

Yes, please! (Thank you for doing the digging, @ariasuni ! I was just about to do the same thing.)

I would like to make a further suggestion: use the same letters that git uses where possible. So close! 😁 , but new should be A instead of N at least (from https://git-scm.com/docs/git-status):

image

@ariasuni
Copy link
Collaborator Author

@ogham What do you think of the suggestion of @msorens, should exa use A for added to follow git’s already established convention?

@ibanezfr
Copy link

ibanezfr commented Aug 7, 2023

@ariasuni Do you know if it was added to the documentation? Or what convention was used in the end?

@eggbean
Copy link

eggbean commented Aug 8, 2023

They are the same letters using by git whatchanged, but N instead of A (as that wouldn't make sense if not staged) and the addition of U and I (which wouldn't come up in git whatchanged).

@ariasuni
Copy link
Collaborator Author

ariasuni commented Sep 6, 2023

The convention is unchanged, and it’s in the man page.

exa is unmaintained, so if you have further comments, please look at the active fork eza instead (see #1243). Also see #1243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community › docs Documentation stuff
Projects
None yet
Development

No branches or pull requests

4 participants