diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-11-11 02:29:41 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-11 17:09:55 -0800 |
commit | 27350891de59608d4db689cf0851f7e49158a6e3 (patch) | |
tree | 013cb5be87b3220a6ddd412deb60d79319667911 /mktree.c | |
parent | b73a4397590df9582dd1c994cac30e55e26b0b1e (diff) | |
download | git-27350891de59608d4db689cf0851f7e49158a6e3.tar.gz git-27350891de59608d4db689cf0851f7e49158a6e3.tar.xz |
rev-list: Introduce --quiet to avoid /dev/null redirects
Some uses of git-rev-list are to run it with --objects to see if
a range of objects between two or more commits is fully connected
or not. In such a case the caller doesn't care about the actual
object names or hash hints so formatting this data only for it to
be dumped to /dev/null by a redirect is a waste of CPU time. If
all the caller needs is the exit status then --quiet can be used
to bypass the commit and object formatting.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'mktree.c')
0 files changed, 0 insertions, 0 deletions