From: Eric Sunshine Date: Tue, 07 Apr 2015 20:49:30 GMT Subject: Re: [PATCH v7 3/4] cat-file: add documentation for '--literally' option. Message-ID: In-Reply-To: <1428126264-19179-1-git-send-email-karthik.188@gmail.com> On Sat, Apr 4, 2015 at 1:44 AM, Karthik Nayak wrote: > Signed-off-by: Karthik Nayak > --- > diff --git a/Documentation/git-cat-file.txt b/Documentation/git-cat-file.txt > index f6a16f4..8bac7bd 100644 > --- a/Documentation/git-cat-file.txt > +++ b/Documentation/git-cat-file.txt > @@ -9,7 +9,7 @@ git-cat-file - Provide content or type and size information for repository objec > SYNOPSIS > -------- > [verse] > -'git cat-file' (-t | -s | -e | -p | | --textconv ) > +'git cat-file' (-t [--literally]| -s [--literally]| -e | -p | | --textconv ) > 'git cat-file' (--batch | --batch-check) < > > DESCRIPTION > @@ -69,6 +69,10 @@ OPTIONS > not be combined with any other options or arguments. See the > section `BATCH OUTPUT` below for details. > > +--literally:: > + Print information of broken/corrupt objects of unknown type without > + throwing an error. To be used combined with '-s' or '-t' option. The way this is worded, it sounds as if the --literally option itself is printing some sort of additional information beyond what -s or -t outputs. In fact, it merely allows -s and -t to work with broken/corrupt objects. Perhaps rephrase something like this? Allow -s or -t to query broken or corrupt objects of unknown type. > OUTPUT > ------ > If '-t' is specified, one of the . > -- > 2.4.0.rc1.249.g9f2ee54 >