From: Junio C Hamano <junkio@cox.net>
To: jdl@freescale.com
Cc: git@vger.kernel.org
Subject: Re: New ASCII Art
Date: Thu, 03 Nov 2005 12:30:28 -0800 [thread overview]
Message-ID: <7vhdatfp97.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <E1EXSDW-0005aC-RG@jdl.com> (jdl@freescale.com's message of "Wed, 02 Nov 2005 17:40:30 -0600")
jdl@freescale.com writes:
> So, I have updated drawings for consideration. See if you buy
> these. And if so, let's ponder where they might go. Then
> I'll patch 'em in...
Thanks for doing this. You have a sale.
> Fundamental Git Index Operations
README (which is included as git(7) Discussion section) might be
a good document to decorate with this. Probably after "The
Workflow; 5) Tying it all together".
> Git Merge Operations
> ====================
>
> +-----------+
> | Object DB |
> | Backing |
> | Store | -------+
> +-----------+ |
> |
> read-tree -m |
> +-----+ tree obj |
> |patch| |
> +-----+ +-----------+ |
> | | Index | <- - - +
> +------------->| "cache" | - - - >+
> git-apply --index +-----------+ |
> |
> |
> read-tree -m -u |
> +-----+ tree obj |
> |patch| |
> +-----+ +-----------+ |
> | | Working |<-------+
> +-------------->| Directory |
> git-apply +-----------+
Note that apply --index updates both index and working tree.
Note that read-tree -m -u takes information from both odb and
index, and updates both index and working tree.
Logically this belongs to "Merging two branches" in the Tutorial
document. The Tutorial introduction claims the document intends
to show how the core level operates to implement higher level
scripts, but currently we lack the lower-level details in the
text that would go well together with this illustration. Please
remind me that I should write something up at the very end of
that section soonish ;-).
> Git Diff Types
Maybe as a side note to "Inspecing Changes" section in the
Tutorial.
> Commit DAG Revision Naming
As an illustration to "SPECIFYING REVISIONS" section of
git-rev-parse(1).
next prev parent reply other threads:[~2005-11-03 20:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-02 23:40 New ASCII Art jdl
2005-11-03 20:30 ` Junio C Hamano [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-11-04 15:14 Jon Loeliger
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=7vhdatfp97.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=jdl@freescale.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).