Go to file
Shawn O. Pearce db45da1208 Add -p to repo forall to improve output formatting
When trying to read log output from many projects at once it can
be difficult to make sense of which messages came from where.

For many professional developers it is common to want to view the
last week's worth of your work, so you can write a weekly summary
of your activity for your status report.

This is easier with the new -p option:

  repo forall -pc git log --reverse --since=1.week.ago --author=sop

produces a report of all commits written by me in the last week,
formatted in a paged output display, with headers inserted in
front of each project's output.

Where this can be even more useful is with git log's pickaxe,
e.g. now we can use:

  repo forall -pc git log -Sbar v1.0..v1.1

to locate all additions or removals of the symbol 'bar' since v1.0,
up to and including v1.1.  Before displaying the matching commits in
a project, a project header is shown, giving the user some context
information for the matching results.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2009-04-18 13:49:13 -07:00
docs Correct note about local_manifest.xml capabilities 2009-04-18 11:25:58 -07:00
hooks Install a default pre-auto-gc hook in all repositories 2008-11-03 11:00:44 -08:00
subcmds Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
.gitignore Initial Contribution 2008-10-21 07:00:00 -07:00
color.py Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
command.py Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Make repo's editor work when the editor is a commandline with 2008-11-14 21:12:44 -05:00
error.py Report better errors when a project revision is invalid 2009-03-02 12:56:08 -08:00
git_command.py Fix repo --trace to show ref and config loads 2009-04-18 09:54:51 -07:00
git_config.py Fix repo --trace to show ref and config loads 2009-04-18 09:54:51 -07:00
git_refs.py Fix repo --trace to show ref and config loads 2009-04-18 09:54:51 -07:00
main.py Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
manifest.py Add repo manifest -o to save a manifest 2009-03-05 10:32:38 -08:00
pager.py Don't start the pager if stdout is a pipe 2009-04-01 07:24:22 -07:00
progress.py Only display a progress meter once we spend 0.5 seconds on a task 2009-04-18 10:09:16 -07:00
project.py Remove unused methods from project.ReviewableBranch 2009-04-18 10:53:27 -07:00
remote.py Add <remote project-name="..."> attribute within projects 2008-11-06 11:23:06 -08:00
repo Clarify options that control the repo executable version 2009-04-18 11:28:57 -07:00
trace.py Fix repo --trace to show ref and config loads 2009-04-18 09:54:51 -07:00