git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git diff-tree against the root commit
@ 2010-10-29  6:13 Joshua Jensen
  2010-11-07 10:58 ` Christoph Mallon
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Jensen @ 2010-10-29  6:13 UTC (permalink / raw)
  To: git@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-07 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-29  6:13 git diff-tree against the root commit Joshua Jensen
2010-11-07 10:58 ` Christoph Mallon
2010-11-07 17:23   ` Linus Torvalds

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).