-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Unable to parse git status after using git add . -N
#53
Comments
Interesting! Have not come across that change code before. Could you please provide me a step of steps to take in a naked git repository to reproduce the status? I see from checking the documentation for diff --git a/commands/status/process.go b/commands/status/process.go
index cb4163b..1cc0ce3 100644
--- a/commands/status/process.go
+++ b/commands/status/process.go
@@ -280,15 +280,17 @@ Below documentation from git status:
X Y Meaning
-------------------------------------------------
- [MD] not updated
+ [AMD] not updated
M [ MD] updated in index
A [ MD] added to index
- D [ M] deleted from index
+ D deleted from index
R [ MD] renamed in index
C [ MD] copied in index
[MARC] index and work tree matches
[ MARC] M work tree changed since index
[ MARC] D deleted in work tree
+ [ D] R renamed in work tree
+ [ D] C copied in work tree
-------------------------------------------------
D D unmerged, both deleted
A U unmerged, added by us |
Hey, yeah not many people now about Here's the minimal number of steps to reproduce the issue:
I'm not sure how to get the other statuses unfortunately |
From
man git-add
I'm using this flow when I want to add new files using
-p
. Without intent-to-addgit add -p
won't pick up the new files.The text was updated successfully, but these errors were encountered: