diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-09-22 17:32:28 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-09-22 17:32:28 -0400 |
commit | 6dc0db8df4324497ce666231a1d458ac6ee6c9ee (patch) | |
tree | 3adccac08e5411413607d749859f5f6fbe2cc07f /doc/git-annex-status.mdwn | |
parent | 94e8b0e08e5a5f630eea17700294b1783b190e67 (diff) |
status: Show added but not yet committed files.
Seems easy, but git ls-files can't list the right subset of files.
So, I wrote a whole new parser for git status output, and converted the
status command to use that.
There are a few other small behavior changes. The order changed. Unlocked
files show as T. In indirect mode, deleted files were not shown before, and
that's fixed. Regular files checked directly into git and modified
were not shown before, and are now.
Diffstat (limited to 'doc/git-annex-status.mdwn')
-rw-r--r-- | doc/git-annex-status.mdwn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/git-annex-status.mdwn b/doc/git-annex-status.mdwn index 7ad967bde..19bd6fab5 100644 --- a/doc/git-annex-status.mdwn +++ b/doc/git-annex-status.mdwn @@ -9,8 +9,10 @@ git annex status `[path ...]` # DESCRIPTION Similar to `git status --short`, this command displays the status of the files -in the working tree. Shows files that are not checked into git, files that have -been deleted, and files that have been modified. +in the working tree. + +Show files that are not checked into git (?), deleted (D), +modified (M), added but not committed (A), and type changed/unlocked (T). Particularly useful in direct mode. |