git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v9 3/5] cat-file: teach cat-file a '--allow-unknown-type' option

From
karthik nayak <karthik.188@gmail.com>
Date
Apr 29, 2015, 17:44 UTC
Message-ID
<55411892.7060205@gmail.com>
In-Reply-To
<CABURp0qCe3aLtnwueh8Jm6Hm-AN1--Dk1NV4Y=oA5XhMsLh1Aw@mail.gmail.com>
On 04/29/2015 08:23 PM, Phil Hord wrote:
Show 19 quoted lines
> On Wed, Apr 29, 2015 at 9:01 AM Karthik Nayak <karthik.188@gmail.com>
> wrote:
> >
> > Currently '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-unkown-type' option where it prints
> > the type or size of a broken/corrupt object without throwing
> > an error.
>
> In this entire series, replace all 'unkown' with 'unknown' in both the
> commit messages and the code ("unknown" is misspelled most of the
> time).  I notice the switch name itself is misspelled, but also
> variable names such as 'unkown_type' in this patch.
>
> Respectfully, because I know English is a challenging beast sometimes,
> and spelling is difficult even for many native speakers...
>

Thanks for that, Yes it does get a bit tricky with spellings, will find an editor with spellcheck and avoid nano :D

Previous: Phil HordNext: Junio C Hamano
Message 12 of 17 in “cat-file: teach cat-file a '--allow-unkown-type' option”
  1. 0/5 cat-file: teach cat-file a '--allow-unkown-type' optionkarthik nayak, Apr 29, 2015
  2. 1/5 sha1_file: support reading from a loose object of unknown typeKarthik Nayak, Apr 29, 2015
  3. Junio C HamanoApr 29, 2015
  4. karthik nayakApr 29, 2015
  5. Junio C HamanoApr 29, 2015
  6. karthik nayakApr 30, 2015
  7. 2/5 cat-file: make the options mutually exclusiveKarthik Nayak, Apr 29, 2015
  8. 3/5 cat-file: teach cat-file a '--allow-unknown-type' optionKarthik Nayak, Apr 29, 2015
  9. Junio C HamanoApr 29, 2015
  10. karthik nayakApr 29, 2015
  11. Phil HordApr 29, 2015
  12. karthik nayakApr 29, 2015
  13. Junio C HamanoApr 29, 2015
  14. 5/5 t1006: add tests for git cat-file --allow-unkown-typeKarthik Nayak, Apr 29, 2015
  15. Eric SunshineApr 29, 2015
  16. 4/5 cat-file: add documentation for '--allow-unkown-type' option.Karthik Nayak, Apr 29, 2015
  17. Eric SunshineApr 29, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.