-
Notifications
You must be signed in to change notification settings - Fork 10
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
gs lacks parsing of all short-hand permutations #30
Labels
Comments
Would love to contribute, but I'm getting 403 when trying to push. Is the error on my end or is is the repo currently on read-only mode? |
If you fork it and submit a pull request I can merge it in. |
No it isn't thank you for your contributed |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
Currently
gs
only covers a handful (of the more common) status permutation that can occur between the working tree and the index. Specifically,??
,M
,M
,MM
,D
,D
,DD
,R
,A
, andA
.For all other short-hand permutations, an error is printed to the screen—
TODO: UNKNOWN. FIX LATER...
Furthermore, many of the parsed statuses will not appear in all relevant states (to be committed, and not staged), but only in one.
Steps to reproduce the issue
Bring a file in your current branch to a permutation that is not supported.
For example, a
git status --porcelain
output ofAD added to index, deleted in tree.txt.txt
and thenrun
gs
What's the expected result?
What's the actual result?
Additional details / screenshot
Here's an example of an output the shows quite a few of these issues
![before](https://user-images.githubusercontent.com/16783217/79820563-8df28d00-835a-11ea-8528-e590a039ec80.png)
The text was updated successfully, but these errors were encountered: