summaryrefslogtreecommitdiff
path: root/t/t5502-quickfetch.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-11-11 07:29:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-12 01:09:55 (GMT)
commit27350891de59608d4db689cf0851f7e49158a6e3 (patch)
tree013cb5be87b3220a6ddd412deb60d79319667911 /t/t5502-quickfetch.sh
parentb73a4397590df9582dd1c994cac30e55e26b0b1e (diff)
downloadgit-27350891de59608d4db689cf0851f7e49158a6e3.zip
git-27350891de59608d4db689cf0851f7e49158a6e3.tar.gz
git-27350891de59608d4db689cf0851f7e49158a6e3.tar.bz2
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 't/t5502-quickfetch.sh')
0 files changed, 0 insertions, 0 deletions