From: Joshua Jensen <jjensen@workspacewhiz.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: git diff-tree against the root commit
Date: Fri, 29 Oct 2010 00:13:55 -0600 [thread overview]
Message-ID: <4CCA6623.8090705@workspacewhiz.com> (raw)
I am mirroring a Git repository into another SCM. I am using 'git
diff-tree' to tell me what changes I need to make to the other SCM.
Today, I attempted to mirror a new submodule. 'git diff-tree' reported
two SHAs... 0000000000000000000000000000000000000000 and the revision
the submodule currently resides at. I attempted to run a 'git
diff-tree' within the submodule for the all zero SHA and the revision
specified, but apparently, 0000000000000000000000000000000000000000 does
not really represent the root commit and does not work. I then
discovered the --root option, but that doesn't seem to give me the
complete file list either.
'git diff-tree' has been working great for everything else, but I really
need a root commit diff-tree listing for proper automation.
What are my options?
Thanks!
Josh
next reply other threads:[~2010-10-29 6:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-29 6:13 Joshua Jensen [this message]
2010-11-07 10:58 ` git diff-tree against the root commit Christoph Mallon
2010-11-07 17:23 ` Linus Torvalds
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=4CCA6623.8090705@workspacewhiz.com \
--to=jjensen@workspacewhiz.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.