diff options
author | Shawn O. Pearce <sop@google.com> | 2009-04-18 11:22:13 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-04-18 11:22:13 -0700 |
commit | deec0536d657be178e8eed2d597afb9fdc716e99 (patch) | |
tree | 44069dcbed8bf4130a3980086be96dfec96bc7bd /subcmds/stage.py | |
parent | 06e556d202cc6944227667a0664ec7b8eca32076 (diff) | |
download | git-repo-deec0536d657be178e8eed2d597afb9fdc716e99.tar.gz |
Only display project path in 'repo stage -i'
Generally we only show the project path, relative from the top of the
client. Showing the project name may be confusing for the end-user.
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/stage.py')
-rw-r--r-- | subcmds/stage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/stage.py b/subcmds/stage.py index c451cd6d..4c221dba 100644 --- a/subcmds/stage.py +++ b/subcmds/stage.py | |||
@@ -55,12 +55,12 @@ The '%prog' command stages files to prepare the next commit. | |||
55 | 55 | ||
56 | out = _ProjectList(self.manifest.manifestProject.config) | 56 | out = _ProjectList(self.manifest.manifestProject.config) |
57 | while True: | 57 | while True: |
58 | out.header(' %-20s %s', 'project', 'path') | 58 | out.header(' %s', 'project') |
59 | out.nl() | 59 | out.nl() |
60 | 60 | ||
61 | for i in xrange(0, len(all)): | 61 | for i in xrange(0, len(all)): |
62 | p = all[i] | 62 | p = all[i] |
63 | out.write('%3d: %-20s %s', i + 1, p.name, p.relpath + '/') | 63 | out.write('%3d: %s', i + 1, p.relpath + '/') |
64 | out.nl() | 64 | out.nl() |
65 | out.nl() | 65 | out.nl() |
66 | 66 | ||