All of lore.kernel.org
 help / color / mirror / Atom feed
From: karthik nayak <karthik.188@gmail.com>
To: Git List <git@vger.kernel.org>
Subject: [PATCH 0/2] cat-file --literally
Date: Wed, 25 Feb 2015 16:36:49 +0530	[thread overview]
Message-ID: <54EDACC9.5080204@gmail.com> (raw)

These changes introduce a "--literally" option to "cat-file" to
allow us to read the type of any loose object, mostly the ones
created using the "--literally" option of "hash-object".

For now it works with the "-t" option as :

     git cat-object -t --literally <object_sha>

Can be made to work with "-e" and "-s" option in the future.

The first patch adds "sha1_object_type_literally()" which is
called by "cat-object" to print the type.
The second patch adds the "--literally" option to "cat-file".

These patches are in response for the patches made here :
http://thread.gmane.org/gmane.comp.version-control.git/243560/focus=243628

             reply	other threads:[~2015-02-25 11:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 11:06 karthik nayak [this message]
2015-02-25 11:07 ` [PATCH 1/2] sha1_file: Add sha1_object_type_literally and export it Karthik Nayak
2015-02-25 18:22   ` David Turner
2015-02-25 19:59     ` karthik nayak
2015-02-25 20:15       ` David Turner
2015-02-25 21:32   ` Junio C Hamano
2015-02-25 22:44     ` Junio C Hamano
2015-02-25 21:55   ` Eric Sunshine
2015-02-26 15:07     ` Karthik Nayak
2015-02-25 11:08 ` [PATCH 2/2] cat-file: add --literally option Karthik Nayak
2015-02-25 22:14   ` Eric Sunshine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54EDACC9.5080204@gmail.com \
    --to=karthik.188@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.