diff options
| author | Karthik Nayak <karthik.188@gmail.com> | 2015-05-03 20:00:01 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2015-05-06 13:35:48 -0700 |
| commit | 39e4ae388047bd7f6f3a4ad86ba5eba523dd0668 (patch) | |
| tree | df962960a6d1cb5f11a1fb4da8ecc5a1b03dd1a7 /contrib/persistent-https | |
| parent | cat-file: make the options mutually exclusive (diff) | |
| download | git-39e4ae388047bd7f6f3a4ad86ba5eba523dd0668.tar.gz git-39e4ae388047bd7f6f3a4ad86ba5eba523dd0668.zip | |
cat-file: teach cat-file a '--allow-unknown-type' option
'git cat-file' throws an error while trying to print the type or
size of a broken/corrupt object. This is because these objects are
usually of unknown types.
Teach git cat-file a '--allow-unknown-type' option where it prints
the type or size of a broken/corrupt object without throwing
an error.
Modify '-t' and '-s' options to call sha1_object_info_extended()
directly to support the '--allow-unknown-type' option.
Add documentation for 'cat-file --allow-unknown-type'.
Helped-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
cat-file: add documentation for '--allow-unknown-type' option.
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
