1
0
mirror of https://github.com/danog/gift.git synced 2024-11-26 20:04:47 +01:00

Merge pull request #30 from frk1705/readmeStatus

Add missing status.type cases to README
This commit is contained in:
Luke Plaster 2014-06-20 10:33:34 +02:00
commit 881ff74b27

View File

@ -254,7 +254,18 @@ the file is staged, tracked, etc.
Each file has the following properties:
* `type` - "A" for added, "M" for modified, "D" for deleted.
* `type` which translates to:
| _type_ | index | working tree |
| :--- | :-------: | :-----------:|
| `A ` | added | - |
| `M ` | modified | - |
| `D ` | deleted | - |
| `AM` | added | modified |
| `MM` | modified | modified |
| `AD` | staged | deleted |
| `MD` | modified | deleted |
* `staged` - `Boolean`
* `tracked` - `Boolean`