summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/status.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/subcmds/status.py b/subcmds/status.py
index 853f1508..0b6006ff 100644
--- a/subcmds/status.py
+++ b/subcmds/status.py
@@ -21,6 +21,44 @@ class Status(PagedCommand):
21 helpUsage = """ 21 helpUsage = """
22%prog [<project>...] 22%prog [<project>...]
23""" 23"""
24 helpDescription = """
25'%prog' compares the working tree to the staging area (aka index),
26and the most recent commit on this branch (HEAD), in each project
27specified. A summary is displayed, one line per file where there
28is a difference between these three states.
29
30Status Display
31--------------
32
33The status display is organized into three columns of information,
34for example if the file 'subcmds/status.py' is modified in the
35project 'repo' on branch 'devwork':
36
37 project repo/ branch devwork
38 -m subcmds/status.py
39
40The first column explains how the staging area (index) differs from
41the last commit (HEAD). Its values are always displayed in upper
42case and have the following meanings:
43
44 -: no difference
45 A: added (not in HEAD, in index )
46 M: modified ( in HEAD, in index, different content )
47 D: deleted ( in HEAD, not in index )
48 R: renamed (not in HEAD, in index, path changed )
49 C: copied (not in HEAD, in index, copied from another)
50 T: mode changed ( in HEAD, in index, same content )
51 U: unmerged; conflict resolution required
52
53The second column explains how the working directory differs from
54the index. Its values are always displayed in lower case and have
55the following meanings:
56
57 -: new / unknown (not in index, in work tree )
58 m: modified ( in index, in work tree, modified )
59 d: deleted ( in index, not in work tree )
60
61"""
24 62
25 def Execute(self, opt, args): 63 def Execute(self, opt, args):
26 all = self.GetProjects(args) 64 all = self.GetProjects(args)