mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-02-23 23:27:27 +08:00
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>
This commit is contained in:
parent
06e556d202
commit
deec0536d6
@ -55,12 +55,12 @@ The '%prog' command stages files to prepare the next commit.
|
|||||||
|
|
||||||
out = _ProjectList(self.manifest.manifestProject.config)
|
out = _ProjectList(self.manifest.manifestProject.config)
|
||||||
while True:
|
while True:
|
||||||
out.header(' %-20s %s', 'project', 'path')
|
out.header(' %s', 'project')
|
||||||
out.nl()
|
out.nl()
|
||||||
|
|
||||||
for i in xrange(0, len(all)):
|
for i in xrange(0, len(all)):
|
||||||
p = all[i]
|
p = all[i]
|
||||||
out.write('%3d: %-20s %s', i + 1, p.name, p.relpath + '/')
|
out.write('%3d: %s', i + 1, p.relpath + '/')
|
||||||
out.nl()
|
out.nl()
|
||||||
out.nl()
|
out.nl()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user